[][src]Enum midi_event::Event

pub enum Event<'src> {
    Midi(MidiEvent),
    SysEx(&'src [u8]),
    Escape(&'src [u8]),
}

All possible midi events

Variants

Midi(MidiEvent)
SysEx(&'src [u8])
Escape(&'src [u8])

Trait Implementations

impl<'src> Clone for Event<'src>[src]

impl<'src> Copy for Event<'src>[src]

impl<'src> Debug for Event<'src>[src]

impl<'src> Hash for Event<'src>[src]

impl<'src> Parse<&'src [u8]> for Event<'src>[src]

impl<'src> PartialEq<Event<'src>> for Event<'src>[src]

impl<'src> StructuralPartialEq for Event<'src>[src]

impl<'_> Write<[u8]> for Event<'_>[src]

Auto Trait Implementations

impl<'src> Send for Event<'src>

impl<'src> Sync for Event<'src>

impl<'src> Unpin for Event<'src>

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.