pub struct MIDIMessageNote {
pub channel: u8,
pub note: u8,
pub velocity: u8,
}Expand description
Type of node-on or note-off contents
Fields§
§channel: u8§note: u8§velocity: u8Trait Implementations§
Source§impl Clone for MIDIMessageNote
impl Clone for MIDIMessageNote
Source§fn clone(&self) -> MIDIMessageNote
fn clone(&self) -> MIDIMessageNote
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 MIDIMessageNote
impl Debug for MIDIMessageNote
Source§impl Ord for MIDIMessageNote
impl Ord for MIDIMessageNote
Source§fn cmp(&self, other: &MIDIMessageNote) -> Ordering
fn cmp(&self, other: &MIDIMessageNote) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MIDIMessageNote
impl PartialEq for MIDIMessageNote
Source§impl PartialOrd for MIDIMessageNote
impl PartialOrd for MIDIMessageNote
impl Eq for MIDIMessageNote
impl StructuralPartialEq for MIDIMessageNote
Auto Trait Implementations§
impl Freeze for MIDIMessageNote
impl RefUnwindSafe for MIDIMessageNote
impl Send for MIDIMessageNote
impl Sync for MIDIMessageNote
impl Unpin for MIDIMessageNote
impl UnwindSafe for MIDIMessageNote
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