pub enum Sevenths {
Major = 11,
Minor = 10,
Perfect = 12,
Diminished = 9,
}Variants§
Implementations§
Source§impl Sevenths
impl Sevenths
Sourcepub const fn is_major(&self) -> bool
pub const fn is_major(&self) -> bool
Returns true if the enum is Sevenths::Major otherwise false
Sourcepub const fn is_minor(&self) -> bool
pub const fn is_minor(&self) -> bool
Returns true if the enum is Sevenths::Minor otherwise false
Sourcepub const fn is_perfect(&self) -> bool
pub const fn is_perfect(&self) -> bool
Returns true if the enum is Sevenths::Perfect otherwise false
Sourcepub const fn is_diminished(&self) -> bool
pub const fn is_diminished(&self) -> bool
Returns true if the enum is Sevenths::Diminished otherwise false
Trait Implementations§
Source§impl IntoEnumIterator for Sevenths
impl IntoEnumIterator for Sevenths
type Iterator = SeventhsIter
fn iter() -> SeventhsIter ⓘ
Source§impl Ord for Sevenths
impl Ord for Sevenths
Source§impl PartialOrd for Sevenths
impl PartialOrd for Sevenths
Source§impl VariantNames for Sevenths
impl VariantNames for Sevenths
impl Copy for Sevenths
impl Eq for Sevenths
impl StructuralPartialEq for Sevenths
Auto Trait Implementations§
impl Freeze for Sevenths
impl RefUnwindSafe for Sevenths
impl Send for Sevenths
impl Sync for Sevenths
impl Unpin for Sevenths
impl UnwindSafe for Sevenths
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