Enum music_theory::theory::chord::EStyle
source · #[repr(usize)]pub enum EStyle {
Long = 0,
Symbol = 2,
}
Expand description
The formatting style of the extra chord quality
Example:
use music_theory::theory::*;
assert_eq!(EStyle::default(), EStyle::Symbol);
Variants§
Long = 0
Use long qualities such as “maj”, “min”, “aug”
Symbol = 2
Use symbols such as “Δ”, “-”, “+”
Trait Implementations§
source§impl Ord for EStyle
impl Ord for EStyle
source§impl PartialEq for EStyle
impl PartialEq for EStyle
source§impl PartialOrd for EStyle
impl PartialOrd for EStyle
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 EStyle
impl Eq for EStyle
impl StructuralPartialEq for EStyle
Auto Trait Implementations§
impl Freeze for EStyle
impl RefUnwindSafe for EStyle
impl Send for EStyle
impl Sync for EStyle
impl Unpin for EStyle
impl UnwindSafe for EStyle
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