pub enum ChordAlter {
Add(ChordNoteAlter),
Suspended(AlteredInterval),
}Expand description
Represents an alteration in a chord.
Typically used in [Alterations.alters(&self)] vector array.
Variants§
Add(ChordNoteAlter)
Added note interval alteration
Suspended(AlteredInterval)
Suspension intreval alteration
Trait Implementations§
Source§impl Clone for ChordAlter
impl Clone for ChordAlter
Source§fn clone(&self) -> ChordAlter
fn clone(&self) -> ChordAlter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChordAlter
impl Debug for ChordAlter
Source§impl PartialEq for ChordAlter
impl PartialEq for ChordAlter
Source§impl ToString for ChordAlter
impl ToString for ChordAlter
impl Eq for ChordAlter
impl StructuralPartialEq for ChordAlter
Auto Trait Implementations§
impl Freeze for ChordAlter
impl RefUnwindSafe for ChordAlter
impl Send for ChordAlter
impl Sync for ChordAlter
impl Unpin for ChordAlter
impl UnwindSafe for ChordAlter
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