Enum music_theory::theory::chord::MStyle
source · #[repr(usize)]pub enum MStyle {
Long,
Short,
Symbol,
}
Expand description
The formatting style of the main base chord quality
Example:
use music_theory::theory::*;
assert_eq!(MStyle::default(), MStyle::Symbol);
Variants§
Long
Use long qualities such as “maj”, “min”, “aug”
Short
Use short qualities such as “M”, “m”, “aug”
Symbol
Use symbols such as “Δ”, “-”, “+”
Trait Implementations§
source§impl Ord for MStyle
impl Ord for MStyle
source§impl PartialEq<MStyle> for MStyle
impl PartialEq<MStyle> for MStyle
source§impl PartialOrd<MStyle> for MStyle
impl PartialOrd<MStyle> for MStyle
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MStyle
impl Eq for MStyle
impl StructuralEq for MStyle
impl StructuralPartialEq for MStyle
Auto Trait Implementations§
impl RefUnwindSafe for MStyle
impl Send for MStyle
impl Sync for MStyle
impl Unpin for MStyle
impl UnwindSafe for MStyle
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