pub struct MeterModel {
pub display: String,
pub time_symbol: Option<String>,
pub duration: Option<Rational>,
pub free_meter: bool,
pub preserve_restatement: bool,
pub source_span: Span,
}Fields§
§display: String§time_symbol: Option<String>MusicXML <time symbol="..."> spelling when the source carried one.
ABC’s M:C/M:C| can imply the common cases; this field preserves
foreign MusicXML symbols whose beat pair is not the ABC shorthand.
duration: Option<Rational>§free_meter: bool§preserve_restatement: boolMusicXML-origin <time> restatement that must survive the ABC projection
even when it repeats the already-effective meter.
source_span: SpanTrait Implementations§
Source§impl Clone for MeterModel
impl Clone for MeterModel
Source§impl Debug for MeterModel
impl Debug for MeterModel
impl Eq for MeterModel
Source§impl PartialEq for MeterModel
impl PartialEq for MeterModel
impl StructuralPartialEq for MeterModel
Auto Trait Implementations§
impl Freeze for MeterModel
impl RefUnwindSafe for MeterModel
impl Send for MeterModel
impl Sync for MeterModel
impl Unpin for MeterModel
impl UnsafeUnpin for MeterModel
impl UnwindSafe for MeterModel
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