Enum musical_keyboard::NoteEvent [] [src]

pub enum NoteEvent {
    On(NoteOn),
    Off(NoteOff),
}

The event that is returned from

Variants

Trait Implementations

impl Copy for NoteEvent
[src]

impl Clone for NoteEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NoteEvent
[src]

Formats the value using the given formatter.

impl PartialEq for NoteEvent
[src]

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

This method tests for !=.

impl From<NoteOn> for NoteEvent
[src]

Performs the conversion.

impl From<NoteOff> for NoteEvent
[src]

Performs the conversion.