pub enum ProgressionElement {
Show 25 variants
SingleBarLine,
OpeningDoubleBarLine,
ClosingDoubleBarLine,
OpeningRepeatBarLine,
ClosingRepeatBarLine,
FinalThickDoubleBarLine,
SmallChord,
LargeChord,
Chord(Chord),
AlternateChord(Chord),
NoChord,
RepeatOneMeasure,
RepeatTwoMeasures,
TimeSignature(TimeSignature),
Section(String),
Verse,
Intro,
Segno,
Coda,
Fermata,
Ending(u8),
StaffText(StaffText),
VerticalSpace(u8),
Divider,
Slash,
}
Expand description
Represents a single element of a chord progression.
Variants§
SingleBarLine
OpeningDoubleBarLine
ClosingDoubleBarLine
OpeningRepeatBarLine
ClosingRepeatBarLine
FinalThickDoubleBarLine
SmallChord
LargeChord
Chord(Chord)
AlternateChord(Chord)
NoChord
RepeatOneMeasure
RepeatTwoMeasures
TimeSignature(TimeSignature)
Section(String)
A, B, C, D sections
Verse
Intro
Segno
Coda
Fermata
Ending(u8)
N0, N1, N2.. ending
StaffText(StaffText)
VerticalSpace(u8)
Divider
Slash
Trait Implementations§
Source§impl Clone for ProgressionElement
impl Clone for ProgressionElement
Source§fn clone(&self) -> ProgressionElement
fn clone(&self) -> ProgressionElement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgressionElement
impl Debug for ProgressionElement
Source§impl Display for ProgressionElement
impl Display for ProgressionElement
Source§impl PartialEq for ProgressionElement
impl PartialEq for ProgressionElement
impl Eq for ProgressionElement
impl StructuralPartialEq for ProgressionElement
Auto Trait Implementations§
impl Freeze for ProgressionElement
impl RefUnwindSafe for ProgressionElement
impl Send for ProgressionElement
impl Sync for ProgressionElement
impl Unpin for ProgressionElement
impl UnwindSafe for ProgressionElement
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