[][src]Struct midi_event::MidiEvent

pub struct MidiEvent {
    pub channel: u8,
    pub event: MidiEventType,
}

The midi event, along with the channel it applies to

Fields

channel: u8

The channel the midi event applies to

event: MidiEventType

The event

Trait Implementations

impl Clone for MidiEvent[src]

impl Copy for MidiEvent[src]

impl Debug for MidiEvent[src]

impl Eq for MidiEvent[src]

impl Hash for MidiEvent[src]

impl<'_> Parse<&'_ [u8]> for MidiEvent[src]

impl PartialEq<MidiEvent> for MidiEvent[src]

impl StructuralEq for MidiEvent[src]

impl StructuralPartialEq for MidiEvent[src]

impl Write<[u8]> for MidiEvent[src]

Auto Trait Implementations

impl Send for MidiEvent

impl Sync for MidiEvent

impl Unpin for MidiEvent

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.