pub enum ChordQuality {
Major,
Minor,
Dominant,
Diminished,
Augmented,
HalfDiminished,
Suspended2,
Suspended4,
Power,
}Expand description
Tertian quality parsed from a chord symbol.
Variants§
Major
Major triad or major-family sonority.
Minor
Minor triad or minor-family sonority.
Dominant
Dominant seventh-family sonority.
Diminished
Diminished triad or diminished-family sonority.
Augmented
Augmented triad sonority.
HalfDiminished
Half-diminished seventh-family sonority.
Suspended2
Suspended-second sonority.
Suspended4
Suspended-fourth sonority.
Power
Power-chord sonority containing a root and fifth.
Trait Implementations§
Source§impl Clone for ChordQuality
impl Clone for ChordQuality
Source§fn clone(&self) -> ChordQuality
fn clone(&self) -> ChordQuality
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChordQuality
impl Debug for ChordQuality
Source§impl<'de> Deserialize<'de> for ChordQuality
impl<'de> Deserialize<'de> for ChordQuality
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChordQuality
impl PartialEq for ChordQuality
Source§impl Serialize for ChordQuality
impl Serialize for ChordQuality
impl Copy for ChordQuality
impl Eq for ChordQuality
impl StructuralPartialEq for ChordQuality
Auto Trait Implementations§
impl Freeze for ChordQuality
impl RefUnwindSafe for ChordQuality
impl Send for ChordQuality
impl Sync for ChordQuality
impl Unpin for ChordQuality
impl UnsafeUnpin for ChordQuality
impl UnwindSafe for ChordQuality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more