pub enum HxMidiEvent {
NoteOn {
channel: u8,
note: u8,
vel: f32,
},
NoteOff {
channel: u8,
note: u8,
},
CC {
channel: u8,
cc: u8,
value: f32,
},
}
Variants
NoteOn
NoteOff
CC
Trait Implementations
sourceimpl Clone for HxMidiEvent
impl Clone for HxMidiEvent
sourcefn clone(&self) -> HxMidiEvent
fn clone(&self) -> HxMidiEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HxMidiEvent
impl Debug for HxMidiEvent
impl Copy for HxMidiEvent
Auto Trait Implementations
impl RefUnwindSafe for HxMidiEvent
impl Send for HxMidiEvent
impl Sync for HxMidiEvent
impl Unpin for HxMidiEvent
impl UnwindSafe for HxMidiEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more