Enum apres::MIDIEvent[][src]

pub enum MIDIEvent {
    SequenceNumber(u16),
    Text(String),
    CopyRightNotice(String),
    TrackName(String),
    InstrumentName(String),
    Lyric(String),
    Marker(String),
    CuePoint(String),
    ChannelPrefix(u8),
    SetTempo(u32),
    SMPTEOffset(u8u8u8u8u8),
    TimeSignature(u8u8u8u8),
    KeySignature(String),
    NoteOn(u8u8u8),
    NoteOff(u8u8u8),
    AfterTouch(u8u8u8),
    BankSelect(u8u16),
    ModulationWheel(u8u16),
    BreathController(u8u16),
    FootPedal(u8u16),
    PortamentoTime(u8u16),
    DataEntrySlider(u8u16),
    Volume(u8u16),
    Balance(u8u16),
    Pan(u8u16),
    Expression(u8u16),
    EffectControl(u8u8u16),
    Slider(u8u8u8),
    HoldPedal(u8u8),
    Portamento(u8u8),
    Sustenuto(u8u8),
    SoftPedal(u8u8),
    Legato(u8u8),
    Hold2Pedal(u8u8),
    SoundVariation(u8u8),
    SoundTimbre(u8u8),
    SoundReleaseTime(u8u8),
    SoundAttack(u8u8),
    SoundBrightness(u8u8),
    SoundControl(u8u8u8),
    GeneralButtonOn(u8u8),
    GeneralButtonOff(u8u8),
    EffectsLevel(u8u8),
    TremuloLevel(u8u8),
    ChorusLevel(u8u8),
    CelesteLevel(u8u8),
    PhaserLevel(u8u8),
    DataButtonIncrement(u8),
    DataButtonDecrement(u8),
    RegisteredParameterNumber(u8u16),
    NonRegisteredParameterNumber(u8u16),
    AllControllersOff(u8),
    LocalKeyboardEnable(u8),
    LocalKeyboardDisable(u8),
    AllNotesOff(u8),
    AllSoundOff(u8),
    OmniOff(u8),
    OmniOn(u8),
    MonophonicOperation(u8u8),
    PolyphonicOperation(u8),
    ControlChange(u8u8u8),
    ProgramChange(u8u8),
    ChannelPressure(u8u8),
    PitchWheelChange(u8f64),
    SystemExclusive(Vec<u8>),
    MTCQuarterFrame(u8u8),
    SongPositionPointer(u16),
    SongSelect(u8),
    EndOfTrack,
    TuneRequest,
    MIDIClock,
    MIDIStart,
    MIDIContinue,
    MIDIStop,
    ActiveSense,
    Reset,
}

Variants

SequenceNumber(u16)
Text(String)
CopyRightNotice(String)
TrackName(String)
InstrumentName(String)
Lyric(String)
Marker(String)
CuePoint(String)
ChannelPrefix(u8)
SetTempo(u32)
SMPTEOffset(u8u8u8u8u8)
TimeSignature(u8u8u8u8)
KeySignature(String)
NoteOn(u8u8u8)
NoteOff(u8u8u8)
AfterTouch(u8u8u8)
BankSelect(u8u16)
ModulationWheel(u8u16)
BreathController(u8u16)
FootPedal(u8u16)
PortamentoTime(u8u16)
DataEntrySlider(u8u16)
Volume(u8u16)
Balance(u8u16)
Pan(u8u16)
Expression(u8u16)
EffectControl(u8u8u16)
Slider(u8u8u8)
HoldPedal(u8u8)
Portamento(u8u8)
Sustenuto(u8u8)
SoftPedal(u8u8)
Legato(u8u8)
Hold2Pedal(u8u8)
SoundVariation(u8u8)
SoundTimbre(u8u8)
SoundReleaseTime(u8u8)
SoundAttack(u8u8)
SoundBrightness(u8u8)
SoundControl(u8u8u8)
GeneralButtonOn(u8u8)
GeneralButtonOff(u8u8)
EffectsLevel(u8u8)
TremuloLevel(u8u8)
ChorusLevel(u8u8)
CelesteLevel(u8u8)
PhaserLevel(u8u8)
DataButtonIncrement(u8)
DataButtonDecrement(u8)
RegisteredParameterNumber(u8u16)
NonRegisteredParameterNumber(u8u16)
AllControllersOff(u8)
LocalKeyboardEnable(u8)
LocalKeyboardDisable(u8)
AllNotesOff(u8)
AllSoundOff(u8)
OmniOff(u8)
OmniOn(u8)
MonophonicOperation(u8u8)
PolyphonicOperation(u8)
ControlChange(u8u8u8)
ProgramChange(u8u8)
ChannelPressure(u8u8)
PitchWheelChange(u8f64)
SystemExclusive(Vec<u8>)
MTCQuarterFrame(u8u8)
SongPositionPointer(u16)
SongSelect(u8)
EndOfTrack
TuneRequest
MIDIClock
MIDIStart
MIDIContinue
MIDIStop
ActiveSense
Reset

Trait Implementations

impl Clone for MIDIEvent[src]

impl MIDIBytes for MIDIEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.