pub enum NoteFlag {
Single,
Double,
}Variants§
Single
A generic single state representing single sharp/flat notes
Double
A generic double state representing double sharp/flat notes
Implementations§
Trait Implementations§
Source§impl<'_enum, T> From<&'_enum SingleOrDouble<T>> for NoteFlag
impl<'_enum, T> From<&'_enum SingleOrDouble<T>> for NoteFlag
Source§fn from(val: &'_enum SingleOrDouble<T>) -> NoteFlag
fn from(val: &'_enum SingleOrDouble<T>) -> NoteFlag
Converts to this type from the input type.
Source§impl<T> From<SingleOrDouble<T>> for NoteFlag
impl<T> From<SingleOrDouble<T>> for NoteFlag
Source§fn from(val: SingleOrDouble<T>) -> NoteFlag
fn from(val: SingleOrDouble<T>) -> NoteFlag
Converts to this type from the input type.
Source§impl IntoEnumIterator for NoteFlag
impl IntoEnumIterator for NoteFlag
type Iterator = NoteFlagIter
fn iter() -> NoteFlagIter ⓘ
Source§impl Ord for NoteFlag
impl Ord for NoteFlag
Source§impl PartialOrd for NoteFlag
impl PartialOrd for NoteFlag
Source§impl VariantNames for NoteFlag
impl VariantNames for NoteFlag
impl Copy for NoteFlag
impl Eq for NoteFlag
impl StructuralPartialEq for NoteFlag
Auto Trait Implementations§
impl Freeze for NoteFlag
impl RefUnwindSafe for NoteFlag
impl Send for NoteFlag
impl Sync for NoteFlag
impl Unpin for NoteFlag
impl UnwindSafe for NoteFlag
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