Struct nom_midi::MidiEvent [] [src]

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

The midi event, along with the channel it applies to

Fields

The channel the midi event applies to

The event

Trait Implementations

impl Debug for MidiEvent
[src]

Formats the value using the given formatter.

impl PartialEq for MidiEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for MidiEvent
[src]

impl Clone for MidiEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more