pub enum SampleSource {
ExternalRefs(Vec<String>),
Embedded,
}Expand description
How a preset’s sample content is located.
Variants§
ExternalRefs(Vec<String>)
Samples are external files referenced by relative path (SFZ). Paths are de-duplicated, in first-seen order.
Embedded
Samples are embedded inside the source instrument file (SF2/DLS); the whole file is the resolution target.
Trait Implementations§
Source§impl Clone for SampleSource
impl Clone for SampleSource
Source§impl Debug for SampleSource
impl Debug for SampleSource
impl Eq for SampleSource
Source§impl PartialEq for SampleSource
impl PartialEq for SampleSource
impl StructuralPartialEq for SampleSource
Auto Trait Implementations§
impl Freeze for SampleSource
impl RefUnwindSafe for SampleSource
impl Send for SampleSource
impl Sync for SampleSource
impl Unpin for SampleSource
impl UnsafeUnpin for SampleSource
impl UnwindSafe for SampleSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more