pub struct IntervalCandidate {
pub kind: IntervalCollectionKind,
pub rank: u8,
pub reason: &'static str,
}Expand description
Represents a scale or mode candidate in static storage format
Fields§
§kind: IntervalCollectionKindThe kind of interval collection
rank: u8Ranking (1 = most relevant)
reason: &'static strReason why this fits the chord
Implementations§
Source§impl IntervalCandidate
impl IntervalCandidate
Sourcepub fn to_scale_candidate(&self) -> ScaleCandidate
pub fn to_scale_candidate(&self) -> ScaleCandidate
Converts this interval candidate to a rooted scale candidate
Trait Implementations§
Source§impl Clone for IntervalCandidate
impl Clone for IntervalCandidate
Source§fn clone(&self) -> IntervalCandidate
fn clone(&self) -> IntervalCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntervalCandidate
Source§impl Debug for IntervalCandidate
impl Debug for IntervalCandidate
impl Eq for IntervalCandidate
Source§impl PartialEq for IntervalCandidate
impl PartialEq for IntervalCandidate
impl StructuralPartialEq for IntervalCandidate
Auto Trait Implementations§
impl Freeze for IntervalCandidate
impl RefUnwindSafe for IntervalCandidate
impl Send for IntervalCandidate
impl Sync for IntervalCandidate
impl Unpin for IntervalCandidate
impl UnsafeUnpin for IntervalCandidate
impl UnwindSafe for IntervalCandidate
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,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
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.