Enum novation_remote_25sl::Event
[−]
[src]
pub enum Event { Control(Control), Key(State, LetterOctave, u8), }
All possible events that might be emitted from the ReMOTE 25SL.
Variants
Control(Control)
Key(State, LetterOctave, u8)
Methods
impl Event
[src]
fn from_midi(port: InputPort, msg: &[u8]) -> Option<Self>
Produce an Event
from the given MIDI input port number and the MIDI message itself.
Trait Implementations
impl Copy for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
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
impl Debug for Event
[src]
impl Hash for Event
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Event
[src]
fn eq(&self, __arg_0: &Event) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Event) -> bool
This method tests for !=
.