pub enum Flats {
D = 1,
E = 3,
G = 6,
A = 8,
B = 10,
}Expand description
A representation of the flat pitch class
Variants§
Implementations§
Trait Implementations§
impl Copy for Flats
impl Eq for Flats
Source§impl IntoEnumIterator for Flats
impl IntoEnumIterator for Flats
Source§impl Ord for Flats
impl Ord for Flats
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 PartialOrd for Flats
impl PartialOrd for Flats
impl StructuralPartialEq for Flats
Auto Trait Implementations§
impl Freeze for Flats
impl RefUnwindSafe for Flats
impl Send for Flats
impl Sync for Flats
impl Unpin for Flats
impl UnsafeUnpin for Flats
impl UnwindSafe for Flats
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