Enum bmidi::EventType
[−]
[src]
pub enum EventType { Key { typ: KeyEventType, note: Note, velocity: Byte, }, ControlChange { controller: Byte, value: Byte, }, PatchChange { program: Byte, }, ChannelAftertouch { channel: Byte, }, PitchWheelChange { value: u16, }, Meta { typ: Byte, data: Vec<u8>, }, }
Variants
Key
Fields of Key
typ: KeyEventType | |
note: Note | |
velocity: Byte |
ControlChange
Fields of ControlChange
controller: Byte | |
value: Byte |
PatchChange
Fields of PatchChange
program: Byte |
ChannelAftertouch
Fields of ChannelAftertouch
channel: Byte |
PitchWheelChange
Fields of PitchWheelChange
value: u16 |
Meta
Fields of Meta
typ: Byte | |
data: Vec<u8> |
Trait Implementations
impl Debug for EventType
[src]
impl Clone for EventType
[src]
fn clone(&self) -> EventType
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