pub enum MidiMessageKind {
NoteOff,
NoteOn,
PolyphonicKeyPressure,
ControlChange,
ProgramChange,
ChannelPressure,
PitchBend,
SystemExclusive,
SystemCommon,
SystemRealTime,
UniversalMidiPacket,
Unknown,
}Variants§
NoteOff
NoteOn
PolyphonicKeyPressure
ControlChange
ProgramChange
ChannelPressure
PitchBend
SystemExclusive
SystemCommon
SystemRealTime
UniversalMidiPacket
Unknown
Implementations§
Trait Implementations§
Source§impl Clone for MidiMessageKind
impl Clone for MidiMessageKind
Source§fn clone(&self) -> MidiMessageKind
fn clone(&self) -> MidiMessageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MidiMessageKind
impl Debug for MidiMessageKind
Source§impl Display for MidiMessageKind
impl Display for MidiMessageKind
Source§impl FromStr for MidiMessageKind
impl FromStr for MidiMessageKind
Source§impl Hash for MidiMessageKind
impl Hash for MidiMessageKind
Source§impl Ord for MidiMessageKind
impl Ord for MidiMessageKind
Source§fn cmp(&self, other: &MidiMessageKind) -> Ordering
fn cmp(&self, other: &MidiMessageKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MidiMessageKind
impl PartialEq for MidiMessageKind
Source§fn eq(&self, other: &MidiMessageKind) -> bool
fn eq(&self, other: &MidiMessageKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MidiMessageKind
impl PartialOrd for MidiMessageKind
impl Copy for MidiMessageKind
impl Eq for MidiMessageKind
impl StructuralPartialEq for MidiMessageKind
Auto Trait Implementations§
impl Freeze for MidiMessageKind
impl RefUnwindSafe for MidiMessageKind
impl Send for MidiMessageKind
impl Sync for MidiMessageKind
impl Unpin for MidiMessageKind
impl UnsafeUnpin for MidiMessageKind
impl UnwindSafe for MidiMessageKind
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