#[non_exhaustive]pub struct Instrument { /* private fields */ }
Expand description
Represents an instrument in the SoundFont.
Implementations§
Source§impl Instrument
impl Instrument
Sourcepub fn get_regions(&self) -> &[InstrumentRegion]
pub fn get_regions(&self) -> &[InstrumentRegion]
Gets the regions of the instrument.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instrument
impl RefUnwindSafe for Instrument
impl Send for Instrument
impl Sync for Instrument
impl Unpin for Instrument
impl UnwindSafe for Instrument
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