pub enum MIDIEvent {
Show 105 variants
SequenceNumber(u16),
Text(String),
CopyRightNotice(String),
TrackName(String),
InstrumentName(String),
Lyric(String),
Marker(String),
CuePoint(String),
ChannelPrefix(u8),
SetTempo(u32),
SMPTEOffset(u8, u8, u8, u8, u8),
TimeSignature(u8, u8, u8, u8),
KeySignature(String),
SequencerSpecific(Vec<u8>),
NoteOn(u8, u8, u8),
NoteOff(u8, u8, u8),
AfterTouch(u8, u8, u8),
BankSelect(u8, u8),
BankSelectLSB(u8, u8),
ModulationWheel(u8, u8),
ModulationWheelLSB(u8, u8),
BreathController(u8, u8),
BreathControllerLSB(u8, u8),
FootPedal(u8, u8),
FootPedalLSB(u8, u8),
PortamentoTime(u8, u8),
PortamentoTimeLSB(u8, u8),
DataEntry(u8, u8),
DataEntryLSB(u8, u8),
Volume(u8, u8),
VolumeLSB(u8, u8),
Balance(u8, u8),
BalanceLSB(u8, u8),
Pan(u8, u8),
PanLSB(u8, u8),
Expression(u8, u8),
ExpressionLSB(u8, u8),
EffectControl1(u8, u8),
EffectControl1LSB(u8, u8),
EffectControl2(u8, u8),
EffectControl2LSB(u8, u8),
GeneralPurpose1(u8, u8),
GeneralPurpose1LSB(u8, u8),
GeneralPurpose2(u8, u8),
GeneralPurpose2LSB(u8, u8),
GeneralPurpose3(u8, u8),
GeneralPurpose3LSB(u8, u8),
GeneralPurpose4(u8, u8),
GeneralPurpose4LSB(u8, u8),
HoldPedal(u8, u8),
Portamento(u8, u8),
Sustenuto(u8, u8),
SoftPedal(u8, u8),
Legato(u8, u8),
Hold2Pedal(u8, u8),
SoundVariation(u8, u8),
SoundTimbre(u8, u8),
SoundReleaseTime(u8, u8),
SoundAttack(u8, u8),
SoundBrightness(u8, u8),
SoundControl1(u8, u8),
SoundControl2(u8, u8),
SoundControl3(u8, u8),
SoundControl4(u8, u8),
SoundControl5(u8, u8),
GeneralPurpose5(u8, u8),
GeneralPurpose6(u8, u8),
GeneralPurpose7(u8, u8),
GeneralPurpose8(u8, u8),
EffectsLevel(u8, u8),
TremuloLevel(u8, u8),
ChorusLevel(u8, u8),
CelesteLevel(u8, u8),
PhaserLevel(u8, u8),
DataIncrement(u8),
DataDecrement(u8),
RegisteredParameterNumber(u8, u8),
RegisteredParameterNumberLSB(u8, u8),
NonRegisteredParameterNumber(u8, u8),
NonRegisteredParameterNumberLSB(u8, u8),
AllControllersOff(u8),
LocalControl(u8, u8),
AllNotesOff(u8),
AllSoundOff(u8),
OmniOff(u8),
OmniOn(u8),
MonophonicOperation(u8, u8),
PolyphonicOperation(u8),
ControlChange(u8, u8, u8),
ProgramChange(u8, u8),
ChannelPressure(u8, u8),
PitchWheelChange(u8, f64),
SystemExclusive(Vec<u8>),
MTCQuarterFrame(u8, u8),
SongPositionPointer(u16),
SongSelect(u8),
TimeCode(f32, u8, u8, u8, 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(u8, u8, u8, u8, u8)
TimeSignature(u8, u8, u8, u8)
KeySignature(String)
SequencerSpecific(Vec<u8>)
NoteOn(u8, u8, u8)
NoteOff(u8, u8, u8)
AfterTouch(u8, u8, u8)
BankSelect(u8, u8)
BankSelectLSB(u8, u8)
ModulationWheel(u8, u8)
ModulationWheelLSB(u8, u8)
BreathController(u8, u8)
BreathControllerLSB(u8, u8)
FootPedal(u8, u8)
FootPedalLSB(u8, u8)
PortamentoTime(u8, u8)
PortamentoTimeLSB(u8, u8)
DataEntry(u8, u8)
DataEntryLSB(u8, u8)
Volume(u8, u8)
VolumeLSB(u8, u8)
Balance(u8, u8)
BalanceLSB(u8, u8)
Pan(u8, u8)
PanLSB(u8, u8)
Expression(u8, u8)
ExpressionLSB(u8, u8)
EffectControl1(u8, u8)
EffectControl1LSB(u8, u8)
EffectControl2(u8, u8)
EffectControl2LSB(u8, u8)
GeneralPurpose1(u8, u8)
GeneralPurpose1LSB(u8, u8)
GeneralPurpose2(u8, u8)
GeneralPurpose2LSB(u8, u8)
GeneralPurpose3(u8, u8)
GeneralPurpose3LSB(u8, u8)
GeneralPurpose4(u8, u8)
GeneralPurpose4LSB(u8, u8)
HoldPedal(u8, u8)
Portamento(u8, u8)
Sustenuto(u8, u8)
SoftPedal(u8, u8)
Legato(u8, u8)
Hold2Pedal(u8, u8)
SoundVariation(u8, u8)
SoundTimbre(u8, u8)
SoundReleaseTime(u8, u8)
SoundAttack(u8, u8)
SoundBrightness(u8, u8)
SoundControl1(u8, u8)
SoundControl2(u8, u8)
SoundControl3(u8, u8)
SoundControl4(u8, u8)
SoundControl5(u8, u8)
GeneralPurpose5(u8, u8)
GeneralPurpose6(u8, u8)
GeneralPurpose7(u8, u8)
GeneralPurpose8(u8, u8)
EffectsLevel(u8, u8)
TremuloLevel(u8, u8)
ChorusLevel(u8, u8)
CelesteLevel(u8, u8)
PhaserLevel(u8, u8)
DataIncrement(u8)
DataDecrement(u8)
RegisteredParameterNumber(u8, u8)
RegisteredParameterNumberLSB(u8, u8)
NonRegisteredParameterNumber(u8, u8)
NonRegisteredParameterNumberLSB(u8, u8)
AllControllersOff(u8)
LocalControl(u8, u8)
AllNotesOff(u8)
AllSoundOff(u8)
OmniOff(u8)
OmniOn(u8)
MonophonicOperation(u8, u8)
PolyphonicOperation(u8)
ControlChange(u8, u8, u8)
ProgramChange(u8, u8)
ChannelPressure(u8, u8)
PitchWheelChange(u8, f64)
SystemExclusive(Vec<u8>)
MTCQuarterFrame(u8, u8)
SongPositionPointer(u16)
SongSelect(u8)
TimeCode(f32, u8, u8, u8, u8)
EndOfTrack
TuneRequest
MIDIClock
MIDIStart
MIDIContinue
MIDIStop
ActiveSense
Reset
Trait Implementations
impl StructuralPartialEq for MIDIEvent
Auto Trait Implementations
impl RefUnwindSafe for MIDIEvent
impl Send for MIDIEvent
impl Sync for MIDIEvent
impl Unpin for MIDIEvent
impl UnwindSafe for MIDIEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more