pub enum Chord {
Show 16 variants
None,
Fifth,
Octave,
Diatonic,
Diatonic7,
Maj,
Min,
Dim,
Sus2,
Sus4,
Maj6,
Min6,
Dom7,
Min7,
Maj7,
Quartal,
}Expand description
What a melodic step plays: one note, or several.
The order of this list is on disk — a step stores the chord it names by
identity, so entries may be appended but never reordered. Diatonic and
Diatonic7 take their quality from the degree the root sits on in the
pattern’s mode, which is what makes a whole line of them sound like a key
rather than like one chord transposed; every other entry is explicit, so
that a borrowed chord stays borrowed.
Variants§
Implementations§
Trait Implementations§
impl Copy for Chord
impl Eq for Chord
impl StructuralPartialEq for Chord
Auto Trait Implementations§
impl Freeze for Chord
impl RefUnwindSafe for Chord
impl Send for Chord
impl Sync for Chord
impl Unpin for Chord
impl UnsafeUnpin for Chord
impl UnwindSafe for Chord
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