pub enum Message {
Show 29 variants
NoteOff(NoteMessage),
NoteOn(NoteMessage),
PolyPressure(NoteMessage),
Control(ControlChangeValue),
ProgramChange(ProgramChangeValue),
ChannelPressure(ChannelPressureMessage),
PitchBend(PitchBendMessage),
AllSoundsOff(Channel),
ResetAllControllers(Channel),
LocalControlOff(Channel),
LocalControlOn(Channel),
AllNotesOff(Channel),
OmniModeOff(Channel),
OmniModeOn(Channel),
MonoModeOn(MonoModeOnValue),
PolyModeOn(Channel),
MidiTimeCodeQuarterFrame(MidiTimeCodeQuarterFrameMessage),
SongPositionPointer(SongPositionPointerMessage),
SongSelect(SongSelectMessage),
TuneRequest,
EndOfSysexFlag,
TimingClock,
Undefined1,
Start,
Continue,
Stop,
Undefined2,
ActiveSensing,
SystemReset,
}
Variants§
NoteOff(NoteMessage)
NoteOn(NoteMessage)
PolyPressure(NoteMessage)
Control(ControlChangeValue)
ProgramChange(ProgramChangeValue)
ChannelPressure(ChannelPressureMessage)
PitchBend(PitchBendMessage)
AllSoundsOff(Channel)
ResetAllControllers(Channel)
LocalControlOff(Channel)
LocalControlOn(Channel)
AllNotesOff(Channel)
OmniModeOff(Channel)
OmniModeOn(Channel)
MonoModeOn(MonoModeOnValue)
PolyModeOn(Channel)
MidiTimeCodeQuarterFrame(MidiTimeCodeQuarterFrameMessage)
SongPositionPointer(SongPositionPointerMessage)
SongSelect(SongSelectMessage)
TuneRequest
EndOfSysexFlag
TimingClock
Undefined1
Start
Continue
Stop
Undefined2
ActiveSensing
SystemReset
Trait Implementations§
source§impl Ord for Message
impl Ord for Message
source§impl PartialEq for Message
impl PartialEq for Message
source§impl PartialOrd for Message
impl PartialOrd for Message
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Message
impl Eq for Message
impl StructuralEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more