pub struct Fifths {
pub attributes: (),
pub content: Fifths,
}Expand description
The Fifths element represents the number of flats or sharps in a traditional key signature.
Negative numbers are used for flats and positive numbers for sharps, reflecting the key’s placement within the circle of fifths (hence the element name).
Fields§
§attributes: ()Element-specific attributes
content: FifthsElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Fifths
impl ElementDeserializer for Fifths
fn deserialize(element: &XmlElement) -> Result<Fifths, String>
Source§impl ElementSerializer for Fifths
impl ElementSerializer for Fifths
fn serialize(element: &Fifths) -> XmlElement
impl Eq for Fifths
impl StructuralPartialEq for Fifths
Auto Trait Implementations§
impl Freeze for Fifths
impl RefUnwindSafe for Fifths
impl Send for Fifths
impl Sync for Fifths
impl Unpin for Fifths
impl UnwindSafe for Fifths
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