pub enum Message<'a> {
Show 17 variants
NoteOff(Channel, u8, u8),
NoteOn(Channel, u8, u8),
PolyphonicAftertouch(Channel, u8, u8),
ControlOrModeChange(Channel, u8, u8),
ProgramChange(Channel, u8),
Aftertouch(Channel, u8),
PitchBendChange(Channel, u8, u8),
SystemExclusive(&'a [u8]),
SongPositionPointer(u8, u8),
SongSelect(u8),
TuneRequest,
TimingClock,
Start,
Continue,
Stop,
ActiveSensing,
SystemReset,
}Expand description
A MIDI message.
Refer to this table
for more info.
Variants§
NoteOff(Channel, u8, u8)
NoteOn(Channel, u8, u8)
PolyphonicAftertouch(Channel, u8, u8)
ControlOrModeChange(Channel, u8, u8)
ProgramChange(Channel, u8)
Aftertouch(Channel, u8)
PitchBendChange(Channel, u8, u8)
SystemExclusive(&'a [u8])
SongPositionPointer(u8, u8)
SongSelect(u8)
TuneRequest
TimingClock
Start
Continue
Stop
ActiveSensing
SystemReset
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Message<'a>
impl<'a> RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> Unpin for Message<'a>
impl<'a> UnwindSafe for Message<'a>
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