pub enum NoteLetter {
A,
B,
C,
D,
E,
F,
G,
}Variants§
Implementations§
Source§impl NoteLetter
impl NoteLetter
Trait Implementations§
Source§impl Clone for NoteLetter
impl Clone for NoteLetter
Source§fn clone(&self) -> NoteLetter
fn clone(&self) -> NoteLetter
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 NoteLetter
impl Debug for NoteLetter
Source§impl Display for NoteLetter
impl Display for NoteLetter
Source§impl FromStr for NoteLetter
impl FromStr for NoteLetter
Source§impl Hash for NoteLetter
impl Hash for NoteLetter
Source§impl Ord for NoteLetter
impl Ord for NoteLetter
Source§fn cmp(&self, other: &NoteLetter) -> Ordering
fn cmp(&self, other: &NoteLetter) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoteLetter
impl PartialEq for NoteLetter
Source§fn eq(&self, other: &NoteLetter) -> bool
fn eq(&self, other: &NoteLetter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NoteLetter
impl PartialOrd for NoteLetter
impl Copy for NoteLetter
impl Eq for NoteLetter
impl StructuralPartialEq for NoteLetter
Auto Trait Implementations§
impl Freeze for NoteLetter
impl RefUnwindSafe for NoteLetter
impl Send for NoteLetter
impl Sync for NoteLetter
impl Unpin for NoteLetter
impl UnsafeUnpin for NoteLetter
impl UnwindSafe for NoteLetter
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