pub struct SfzInstrument<'a> { /* private fields */ }Expand description
A parsed SFZ instrument: a bounded, ordered list of regions.
Regions borrow their sample_ref from the input text, so the instrument shares its
lifetime. The order is preserved (SFZ layering is first-match by authoring order).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SfzInstrument<'a>
impl<'a> Clone for SfzInstrument<'a>
Auto Trait Implementations§
impl<'a> Freeze for SfzInstrument<'a>
impl<'a> RefUnwindSafe for SfzInstrument<'a>
impl<'a> Send for SfzInstrument<'a>
impl<'a> Sync for SfzInstrument<'a>
impl<'a> Unpin for SfzInstrument<'a>
impl<'a> UnsafeUnpin for SfzInstrument<'a>
impl<'a> UnwindSafe for SfzInstrument<'a>
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