pub struct NoteOnEvent {
pub channel: u8,
pub key: u8,
pub velocity: u8,
}
Fields§
§channel: u8
§key: u8
§velocity: u8
Implementations§
Source§impl NoteOnEvent
impl NoteOnEvent
Source§impl NoteOnEvent
impl NoteOnEvent
Trait Implementations§
Source§impl ChannelEvent for NoteOnEvent
impl ChannelEvent for NoteOnEvent
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 moreSource§impl Debug for NoteOnEvent
impl Debug for NoteOnEvent
Source§impl KeyEvent for NoteOnEvent
impl KeyEvent for NoteOnEvent
Source§impl MIDIEvent for NoteOnEvent
impl MIDIEvent for NoteOnEvent
Source§impl PartialEq for NoteOnEvent
impl PartialEq for NoteOnEvent
Source§impl PlaybackEvent for NoteOnEvent
impl PlaybackEvent for NoteOnEvent
Source§impl SerializeEvent for NoteOnEvent
impl SerializeEvent for NoteOnEvent
fn serialize_event<T: Write>( &self, buf: &mut T, ) -> Result<usize, MIDIWriteError>
impl StructuralPartialEq for NoteOnEvent
Auto Trait Implementations§
impl Freeze for NoteOnEvent
impl RefUnwindSafe for NoteOnEvent
impl Send for NoteOnEvent
impl Sync 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