pub enum Sharps {
C = 1,
D = 3,
F = 6,
G = 8,
A = 10,
}Expand description
A representation of the sharp pitch class
Variants§
Implementations§
Trait Implementations§
impl Copy for Sharps
impl Eq for Sharps
Source§impl IntoEnumIterator for Sharps
impl IntoEnumIterator for Sharps
type Iterator = SharpsIter
fn iter() -> SharpsIter ⓘ
Source§impl Ord for Sharps
impl Ord for Sharps
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 Sharps
impl PartialOrd for Sharps
impl StructuralPartialEq for Sharps
Auto Trait Implementations§
impl Freeze for Sharps
impl RefUnwindSafe for Sharps
impl Send for Sharps
impl Sync for Sharps
impl Unpin for Sharps
impl UnsafeUnpin for Sharps
impl UnwindSafe for Sharps
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