pub struct AccidentalText {
pub attributes: AccidentalTextAttributes,
pub content: AccidentalValue,
}Expand description
The AccidentalText element is used for exact formatting of accidentals in display elements such as PartNameDisplay.
The enclosure attribute is none if not specified.
Fields§
§attributes: AccidentalTextAttributesElement-specific attributes
content: AccidentalValueElement-specific content
Trait Implementations§
Source§impl Debug for AccidentalText
impl Debug for AccidentalText
Source§impl ElementDeserializer for AccidentalText
impl ElementDeserializer for AccidentalText
fn deserialize(element: &XmlElement) -> Result<AccidentalText, String>
Source§impl ElementSerializer for AccidentalText
impl ElementSerializer for AccidentalText
fn serialize(element: &AccidentalText) -> XmlElement
Source§impl PartialEq for AccidentalText
impl PartialEq for AccidentalText
impl Eq for AccidentalText
impl StructuralPartialEq for AccidentalText
Auto Trait Implementations§
impl Freeze for AccidentalText
impl RefUnwindSafe for AccidentalText
impl Send for AccidentalText
impl Sync for AccidentalText
impl Unpin for AccidentalText
impl UnwindSafe for AccidentalText
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