Struct portmidi::MidiEvent [] [src]

pub struct MidiEvent {
    pub message: MidiMessage,
    pub timestamp: PmTimestamp,
}

Represents a time stamped midi event. See also MidiMessage

See the PortMidi documentation for how SysEx and midi realtime messages are handled

TODO: what to do about the timestamp?

Fields

message: MidiMessage timestamp: PmTimestamp

Trait Implementations

impl Debug for MidiEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq 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