pub enum StmNoteKind {
Note {
octave: u8,
semitone: u8,
},
Empty,
DashNote,
Dots,
Reserved,
}Expand description
Semantic interpretation of the STM note byte.
Variants§
Trait Implementations§
Source§impl Clone for StmNoteKind
impl Clone for StmNoteKind
Source§fn clone(&self) -> StmNoteKind
fn clone(&self) -> StmNoteKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StmNoteKind
impl Debug for StmNoteKind
Source§impl PartialEq for StmNoteKind
impl PartialEq for StmNoteKind
Source§fn eq(&self, other: &StmNoteKind) -> bool
fn eq(&self, other: &StmNoteKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StmNoteKind
impl Eq for StmNoteKind
impl StructuralPartialEq for StmNoteKind
Auto Trait Implementations§
impl Freeze for StmNoteKind
impl RefUnwindSafe for StmNoteKind
impl Send for StmNoteKind
impl Sync for StmNoteKind
impl Unpin for StmNoteKind
impl UnsafeUnpin for StmNoteKind
impl UnwindSafe for StmNoteKind
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