[][src]Enum usbd_midi::data::midi::message::message::Message

pub enum Message {
    NoteOff(ChannelNoteU7),
    NoteOn(ChannelNoteU7),
    PolyphonicAftertouch(ChannelNoteU7),
    ProgramChange(ChannelU7),
    ChannelAftertouch(ChannelU7),
    PitchWheelChange(ChannelU7U7),
}

Represents midi messages Note: not current exhaustive and SysEx messages end up being a confusing case. So are currently note implemented they are sort-of unbounded

Variants

NoteOff(ChannelNoteU7)
NoteOn(ChannelNoteU7)
PolyphonicAftertouch(ChannelNoteU7)
ProgramChange(ChannelU7)
ChannelAftertouch(ChannelU7)
PitchWheelChange(ChannelU7U7)

Trait Implementations

impl From<Message> for Raw[src]

Auto Trait Implementations

impl Send for Message

impl Sync for Message

impl Unpin for Message

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, 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.