pub struct Inversion {
pub attributes: InversionAttributes,
pub content: NonNegativeInteger,
}Expand description
The Inversion element represents harmony inversions.
The value is a number indicating which inversion is used: 0 for root position, 1 for first inversion, etc.
Fields§
§attributes: InversionAttributesElement-specific attributes
content: NonNegativeIntegerElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Inversion
impl ElementDeserializer for Inversion
fn deserialize(element: &XmlElement) -> Result<Inversion, String>
Source§impl ElementSerializer for Inversion
impl ElementSerializer for Inversion
fn serialize(element: &Inversion) -> XmlElement
impl Eq for Inversion
impl StructuralPartialEq for Inversion
Auto Trait Implementations§
impl Freeze for Inversion
impl RefUnwindSafe for Inversion
impl Send for Inversion
impl Sync for Inversion
impl Unpin for Inversion
impl UnwindSafe for Inversion
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