pub struct ItalianSixth {
pub bass: Pitch,
pub root: Pitch,
pub third: Pitch,
pub fifth: Pitch,
}Expand description
The notes of an Italian augmented sixth an Italian-sixth resolution is judged by: its bass, root, third and fifth.
Fields§
§bass: PitchThe chord’s bass.
root: PitchThe chord’s root.
third: PitchThe chord’s third.
fifth: PitchThe chord’s fifth.
Implementations§
Source§impl ItalianSixth
impl ItalianSixth
Sourcepub fn of(possibility: &[Pitch]) -> Result<Self>
pub fn of(possibility: &[Pitch]) -> Result<Self>
The bass, root, third and fifth of the Italian augmented sixth
possibility spells.
§Errors
A possibility that spells no Italian augmented sixth.
Sourcepub fn from_chord(chord: &Chord) -> Result<Self>
pub fn from_chord(chord: &Chord) -> Result<Self>
The bass, root, third and fifth of chord, an Italian augmented
sixth.
§Errors
A chord that is no Italian augmented sixth.
Trait Implementations§
Source§impl Clone for ItalianSixth
impl Clone for ItalianSixth
Source§impl Debug for ItalianSixth
impl Debug for ItalianSixth
Source§impl PartialEq for ItalianSixth
impl PartialEq for ItalianSixth
impl StructuralPartialEq for ItalianSixth
Auto Trait Implementations§
impl Freeze for ItalianSixth
impl RefUnwindSafe for ItalianSixth
impl Send for ItalianSixth
impl Sync for ItalianSixth
impl Unpin for ItalianSixth
impl UnsafeUnpin for ItalianSixth
impl UnwindSafe for ItalianSixth
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