Enum m8_files::Instrument
source · pub enum Instrument {
WavSynth(WavSynth),
MacroSynth(MacroSynth),
Sampler(Sampler),
MIDIOut(MIDIOut),
FMSynth(FMSynth),
None,
}Variants§
Implementations§
source§impl Instrument
impl Instrument
pub fn read(reader: &mut impl Read) -> Result<Self, ParseError>
Trait Implementations§
source§impl Debug for Instrument
impl Debug for Instrument
source§impl PartialEq<Instrument> for Instrument
impl PartialEq<Instrument> for Instrument
source§fn eq(&self, other: &Instrument) -> bool
fn eq(&self, other: &Instrument) -> bool
This method tests for
self and other values to be equal, and is used
by ==.