pub struct VoiceTimeline {
pub id: VoiceId,
pub initial_key: Option<KeySignatureModel>,
pub initial_meter: Option<MeterModel>,
pub initial_properties: VoicePropertiesModel,
pub properties: VoicePropertiesModel,
pub measures: Vec<VoiceMeasureTimeline>,
pub musicxml_instruments: Vec<MusicXmlPartInstrumentModel>,
pub midi_instrument: Option<MidiInstrumentModel>,
pub midi_transpose: Option<i16>,
pub source_span: Span,
}Fields§
§id: VoiceId§initial_key: Option<KeySignatureModel>§initial_meter: Option<MeterModel>§initial_properties: VoicePropertiesModel§properties: VoicePropertiesModel§measures: Vec<VoiceMeasureTimeline>§musicxml_instruments: Vec<MusicXmlPartInstrumentModel>MusicXML-origin part-list instruments carried through ABC as croma
%%MIDI instrument-def directives.
midi_instrument: Option<MidiInstrumentModel>Score-level MIDI instrument projected from this voice’s %%MIDI program
/ channel directives, carried through to the semantic Voice.
midi_transpose: Option<i16>Chromatic transposition (semitones) projected from this voice’s
%%MIDI transpose directive, carried through to the semantic Voice.
source_span: SpanTrait Implementations§
Source§impl Clone for VoiceTimeline
impl Clone for VoiceTimeline
Source§impl Debug for VoiceTimeline
impl Debug for VoiceTimeline
impl Eq for VoiceTimeline
Source§impl PartialEq for VoiceTimeline
impl PartialEq for VoiceTimeline
impl StructuralPartialEq for VoiceTimeline
Auto Trait Implementations§
impl Freeze for VoiceTimeline
impl RefUnwindSafe for VoiceTimeline
impl Send for VoiceTimeline
impl Sync for VoiceTimeline
impl Unpin for VoiceTimeline
impl UnsafeUnpin for VoiceTimeline
impl UnwindSafe for VoiceTimeline
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