Enum musical_note::NoteName
source · pub enum NoteName {
C,
D,
E,
F,
G,
A,
B,
}Variants
C
D
E
F
G
A
B
Implementations
Trait Implementations
sourceimpl PartialOrd<NoteName> for NoteName
impl PartialOrd<NoteName> for NoteName
sourcefn partial_cmp(&self, other: &NoteName) -> Option<Ordering>
fn partial_cmp(&self, other: &NoteName) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for NoteName
impl Eq for NoteName
impl StructuralEq for NoteName
impl StructuralPartialEq for NoteName
Auto Trait Implementations
impl RefUnwindSafe for NoteName
impl Send for NoteName
impl Sync for NoteName
impl Unpin for NoteName
impl UnwindSafe for NoteName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more