[][src]Enum musictheory::types::Degree

pub enum Degree {
    Tonic,
    Supertonic,
    Mediant,
    Subdominant,
    Dominant,
    Submediant,
    Subtonic,
}

Degrees are a representation of particular notes in a sequence.

Variants

Tonic
Supertonic
Mediant
Subdominant
Dominant
Submediant
Subtonic

Methods

impl Degree[src]

pub fn degrees() -> &'static [Degree; 7][src]

Trait Implementations

impl Clone for Degree[src]

impl Copy for Degree[src]

impl Debug for Degree[src]

impl Display for Degree[src]

impl PartialEq<Degree> for Degree[src]

impl PartialOrd<Degree> for Degree[src]

impl StructuralPartialEq for Degree[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.