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 Clone for Instrument
impl Clone for Instrument
source§fn clone(&self) -> Instrument
fn clone(&self) -> Instrument
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§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 ==.