pub enum Thirds {
Major = 4,
Minor = 3,
}Expand description
Represents the various kinds of thirds in music theory.
Variants§
Implementations§
Trait Implementations§
impl Copy for Thirds
impl Eq for Thirds
Source§impl IntoEnumIterator for Thirds
impl IntoEnumIterator for Thirds
type Iterator = ThirdsIter
fn iter() -> ThirdsIter ⓘ
Source§impl Ord for Thirds
impl Ord for Thirds
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 Thirds
impl PartialOrd for Thirds
impl StructuralPartialEq for Thirds
Auto Trait Implementations§
impl Freeze for Thirds
impl RefUnwindSafe for Thirds
impl Send for Thirds
impl Sync for Thirds
impl Unpin for Thirds
impl UnsafeUnpin for Thirds
impl UnwindSafe for Thirds
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