pub struct Progression {
pub key: Option<String>,
pub chords: Vec<Chord>,
}Expand description
An ordered sequence of chords, optionally in a named key.
Fields§
§key: Option<String>Key the progression is heard in, if specified.
chords: Vec<Chord>The chords in playing order.
Implementations§
Trait Implementations§
Source§impl Clone for Progression
impl Clone for Progression
Source§fn clone(&self) -> Progression
fn clone(&self) -> Progression
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 moreSource§impl Debug for Progression
impl Debug for Progression
impl Eq for Progression
Source§impl MusicObject for Progression
impl MusicObject for Progression
Source§impl PartialEq for Progression
impl PartialEq for Progression
impl StructuralPartialEq for Progression
Auto Trait Implementations§
impl Freeze for Progression
impl RefUnwindSafe for Progression
impl Send for Progression
impl Sync for Progression
impl Unpin for Progression
impl UnsafeUnpin for Progression
impl UnwindSafe for Progression
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