Struct midi_msg::SoundFileMap [−][src]
How to map a DLS or SF2 file for MIDI reference. Used by SelectMap.
Fields
dst_bank: u16MIDI bank number required to select sound for playing. 0-16383
dst_prog: u8MIDI program number required to select sound for playing. 0-127
src_bank: u16MIDI bank number referenced in file’s instrument header. 0-16383
src_prog: u8MIDI program number referenced in file’s instrument header. 0-127
src_drum: boolThe selected instrument is a drum instrument
dst_drum: boolThe selected instrument should be loaded as a drum instrument
volume: u8Initial volume 0-127
Trait Implementations
impl Clone for SoundFileMap[src]
fn clone(&self) -> SoundFileMap[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SoundFileMap[src]
impl Debug for SoundFileMap[src]
impl Default for SoundFileMap[src]
impl PartialEq<SoundFileMap> for SoundFileMap[src]
fn eq(&self, other: &SoundFileMap) -> bool[src]
fn ne(&self, other: &SoundFileMap) -> bool[src]
impl StructuralPartialEq for SoundFileMap[src]
Auto Trait Implementations
impl RefUnwindSafe for SoundFileMap
impl Send for SoundFileMap
impl Sync for SoundFileMap
impl Unpin for SoundFileMap
impl UnwindSafe for SoundFileMap
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,