pub struct KeySignatureModel {
pub display: String,
pub fifths: i8,
pub explicit_accidentals: Vec<KeyAccidentalModel>,
pub preserve_restatement: bool,
pub source_span: Span,
}Fields§
§display: String§fifths: i8§explicit_accidentals: Vec<KeyAccidentalModel>§preserve_restatement: boolMusicXML-origin <key> restatement that must survive the ABC projection
even when it repeats the already-effective key (mirrors
MeterModel::preserve_restatement).
source_span: SpanTrait Implementations§
Source§impl Clone for KeySignatureModel
impl Clone for KeySignatureModel
Source§impl Debug for KeySignatureModel
impl Debug for KeySignatureModel
impl Eq for KeySignatureModel
Source§impl PartialEq for KeySignatureModel
impl PartialEq for KeySignatureModel
impl StructuralPartialEq for KeySignatureModel
Auto Trait Implementations§
impl Freeze for KeySignatureModel
impl RefUnwindSafe for KeySignatureModel
impl Send for KeySignatureModel
impl Sync for KeySignatureModel
impl Unpin for KeySignatureModel
impl UnsafeUnpin for KeySignatureModel
impl UnwindSafe for KeySignatureModel
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