Struct portmidi::types::MidiEvent [] [src]

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

Represents a time stamped midi event. See also MidiMessage

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

Fields

Trait Implementations

impl Clone for MidiEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MidiEvent
[src]

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 Eq for MidiEvent
[src]

impl Debug for MidiEvent
[src]

Formats the value using the given formatter.

impl From<PmEvent> for MidiEvent
[src]

Performs the conversion.

impl From<MidiMessage> for MidiEvent
[src]

Performs the conversion.

impl Into<PmEvent> for MidiEvent
[src]

Performs the conversion.