pub struct PartName {
pub attributes: PartNameAttributes,
pub content: String,
}Expand description
The PartName and PartAbbreviation elements describe the name and abbreviation of a ScorePart element, respectively.
Formatting attributes for these elements were deprecated in Version 2.0 in favor of the PartNameDisplay and PartAbbreviationDisplay elements.
Fields§
§attributes: PartNameAttributesElement-specific attributes
content: StringElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for PartName
impl ElementDeserializer for PartName
fn deserialize(element: &XmlElement) -> Result<PartName, String>
Source§impl ElementSerializer for PartName
impl ElementSerializer for PartName
fn serialize(element: &PartName) -> XmlElement
impl Eq for PartName
impl StructuralPartialEq for PartName
Auto Trait Implementations§
impl Freeze for PartName
impl RefUnwindSafe for PartName
impl Send for PartName
impl Sync for PartName
impl Unpin for PartName
impl UnwindSafe for PartName
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