pub struct Sf2Preset {
pub name: String,
pub bank: u16,
pub program: u16,
}Expand description
One SoundFont2 preset descriptor (no sample audio).
Fields§
§name: StringPreset name (achPresetName, up to 20 bytes, NUL-trimmed).
bank: u16MIDI bank (wBank).
program: u16MIDI program / preset number (wPreset).
Trait Implementations§
impl Eq for Sf2Preset
impl StructuralPartialEq for Sf2Preset
Auto Trait Implementations§
impl Freeze for Sf2Preset
impl RefUnwindSafe for Sf2Preset
impl Send for Sf2Preset
impl Sync for Sf2Preset
impl Unpin for Sf2Preset
impl UnsafeUnpin for Sf2Preset
impl UnwindSafe for Sf2Preset
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