#[repr(usize)]pub enum Factors {
Root = 0,
Third = 1,
Fifth = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'_enum, T> From<&'_enum ChordFactor<T>> for Factors
impl<'_enum, T> From<&'_enum ChordFactor<T>> for Factors
Source§fn from(val: &'_enum ChordFactor<T>) -> Factors
fn from(val: &'_enum ChordFactor<T>) -> Factors
Converts to this type from the input type.
Source§impl<T> From<ChordFactor<T>> for Factors
impl<T> From<ChordFactor<T>> for Factors
Source§fn from(val: ChordFactor<T>) -> Factors
fn from(val: ChordFactor<T>) -> Factors
Converts to this type from the input type.
Source§impl<T, S, K> IndexMut<Factors> for TriadBase<S, K, T>where
S: TriadReprMut<Elem = T>,
K: TriadType,
impl<T, S, K> IndexMut<Factors> for TriadBase<S, K, T>where
S: TriadReprMut<Elem = T>,
K: TriadType,
Source§impl IntoEnumIterator for Factors
impl IntoEnumIterator for Factors
type Iterator = FactorsIter
fn iter() -> FactorsIter ⓘ
Source§impl Ord for Factors
impl Ord for Factors
Source§impl PartialOrd for Factors
impl PartialOrd for Factors
Source§impl VariantNames for Factors
impl VariantNames for Factors
impl Copy for Factors
impl Eq for Factors
impl StructuralPartialEq for Factors
Auto Trait Implementations§
impl Freeze for Factors
impl RefUnwindSafe for Factors
impl Send for Factors
impl Sync for Factors
impl Unpin for Factors
impl UnwindSafe for Factors
Blanket Implementations§
Source§impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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