[−][src]Enum musictheory::types::PitchMode
Sequence of PitchClasses in modal order for a given PitchGroup.
Variants
Ionian([PitchClass; 7])
Dorian([PitchClass; 7])
Phrygian([PitchClass; 7])
Lydian([PitchClass; 7])
Mixolydian([PitchClass; 7])
Aeolian([PitchClass; 7])
Locrian([PitchClass; 7])
Methods
impl PitchMode
[src]
pub fn tonic(&self) -> PitchClass
[src]
Get PitchClass in the Tonic position of this PitchMode.
pub fn supertonic(&self) -> PitchClass
[src]
Get PitchClass in the Supertonic position of this PitchMode.
pub fn mediant(&self) -> PitchClass
[src]
Get PitchClass in the Mediant position of this PitchMode.
pub fn subdominant(&self) -> PitchClass
[src]
Get PitchClass in the Subdominant position of this PitchMode.
pub fn dominant(&self) -> PitchClass
[src]
Get PitchClass in the Dominant position of this PitchMode.
pub fn submediant(&self) -> PitchClass
[src]
Get PitchClass in the Submediant position of this PitchMode.
pub fn subtonic(&self) -> PitchClass
[src]
Get PitchClass in the Subtonic position of this PitchMode.
Trait Implementations
impl Clone for PitchMode
[src]
impl Copy for PitchMode
[src]
impl Debug for PitchMode
[src]
impl Display for PitchMode
[src]
impl PartialEq<PitchMode> for PitchMode
[src]
impl PartialOrd<PitchMode> for PitchMode
[src]
fn partial_cmp(&self, other: &PitchMode) -> Option<Ordering>
[src]
fn lt(&self, other: &PitchMode) -> bool
[src]
fn le(&self, other: &PitchMode) -> bool
[src]
fn gt(&self, other: &PitchMode) -> bool
[src]
fn ge(&self, other: &PitchMode) -> bool
[src]
impl StructuralPartialEq for PitchMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for PitchMode
impl Send for PitchMode
impl Sync for PitchMode
impl Unpin for PitchMode
impl UnwindSafe for PitchMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,