#[repr(u8)]pub enum Degree {
Seven = 0,
Nine = 1,
Eleven = 2,
Thirteen = 3,
}
Expand description
An enum representing the degree of a dominant chord.
Variants§
Seven = 0
Seventh degree.
Nine = 1
Ninth degree.
Eleven = 2
Eleventh degree.
Thirteen = 3
Thirteenth degree.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Degree
impl<'de> Deserialize<'de> for Degree
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 HasStaticName for Degree
impl HasStaticName for Degree
source§fn static_name(&self) -> &'static str
fn static_name(&self) -> &'static str
Returns the static name of the type.
source§impl Ord for Degree
impl Ord for Degree
source§impl PartialEq for Degree
impl PartialEq for Degree
source§impl PartialOrd for Degree
impl PartialOrd for Degree
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 Degree
impl Eq for Degree
impl StructuralEq for Degree
impl StructuralPartialEq for Degree
Auto Trait Implementations§
impl RefUnwindSafe for Degree
impl Send for Degree
impl Sync for Degree
impl Unpin for Degree
impl UnwindSafe for Degree
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more