Struct redact_composer_core::elements::PlayNote
source · pub struct PlayNote {
pub note: u8,
pub velocity: u8,
}
Expand description
Play a note with a velocity.
Fields§
§note: u8
Note represented as u8, with note % 12 == 0
representing ‘C’.
velocity: u8
The strength of attack of the note.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PlayNote
impl Send for PlayNote
impl Sync for PlayNote
impl Unpin for PlayNote
impl UnwindSafe for PlayNote
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