pub enum TimelineEventKind {
Note {
step: char,
octave: i8,
accidental: Option<Accidental>,
effective_accidental: Option<Accidental>,
accidental_source: Option<Span>,
chord: bool,
},
Rest {
visibility: RestVisibility,
multiple_rest: Option<u32>,
},
Spacer,
Barline {
kind: BarlineKind,
},
VariantEnding {
endings: Vec<RepeatEndingPartModel>,
},
VariantEndingClose {
close_type: RepeatEndingCloseType,
location: RepeatEndingCloseLocation,
endings: Vec<RepeatEndingPartModel>,
},
KeyChange(KeySignatureModel),
MeterChange(MeterModel),
ClefChange(ClefChangeModel),
TempoChange(TempoModel),
SectionLabel(String),
}Variants§
Note
Rest
Spacer
Barline
Fields
§
kind: BarlineKindVariantEnding
Fields
§
endings: Vec<RepeatEndingPartModel>VariantEndingClose
Fields
§
close_type: RepeatEndingCloseType§
location: RepeatEndingCloseLocation§
endings: Vec<RepeatEndingPartModel>KeyChange(KeySignatureModel)
MeterChange(MeterModel)
ClefChange(ClefChangeModel)
TempoChange(TempoModel)
SectionLabel(String)
A body/inline P: section label, mirrored from TimedEventKind so the
per-voice alignment timeline carries it (zero duration, non-alignable).
Trait Implementations§
Source§impl Clone for TimelineEventKind
impl Clone for TimelineEventKind
Source§impl Debug for TimelineEventKind
impl Debug for TimelineEventKind
impl Eq for TimelineEventKind
Source§impl PartialEq for TimelineEventKind
impl PartialEq for TimelineEventKind
impl StructuralPartialEq for TimelineEventKind
Auto Trait Implementations§
impl Freeze for TimelineEventKind
impl RefUnwindSafe for TimelineEventKind
impl Send for TimelineEventKind
impl Sync for TimelineEventKind
impl Unpin for TimelineEventKind
impl UnsafeUnpin for TimelineEventKind
impl UnwindSafe for TimelineEventKind
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