#[repr(C)]pub struct NoteOnEvent {
pub channel: int16,
pub pitch: int16,
pub tuning: f32,
pub velocity: f32,
pub length: int32,
pub noteId: int32,
}Fields§
§channel: int16§pitch: int16§tuning: f32§velocity: f32§length: int32§noteId: int32Trait Implementations§
Source§impl Clone for NoteOnEvent
impl Clone for NoteOnEvent
Source§fn clone(&self) -> NoteOnEvent
fn clone(&self) -> NoteOnEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoteOnEvent
impl Send for NoteOnEvent
impl Sync for NoteOnEvent
Auto Trait Implementations§
impl Freeze for NoteOnEvent
impl RefUnwindSafe for NoteOnEvent
impl Unpin for NoteOnEvent
impl UnwindSafe for NoteOnEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more