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
channel: u8
The channel the midi event applies to
event: MidiEventType
The event
Trait Implementations
impl Debug for MidiEvent
[src]
impl PartialEq for MidiEvent
[src]
fn eq(&self, __arg_0: &MidiEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MidiEvent) -> bool
This method tests for !=
.
impl Copy for MidiEvent
[src]
impl Clone for MidiEvent
[src]
fn clone(&self) -> MidiEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more