pub struct PianoNote {
pub is_on: bool,
pub note_number: u8,
pub velocity: u8,
}Fields§
§is_on: bool§note_number: u8§velocity: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for PianoNote
impl RefUnwindSafe for PianoNote
impl Send for PianoNote
impl Sync for PianoNote
impl Unpin for PianoNote
impl UnwindSafe for PianoNote
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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