pub struct Cancel {
pub attributes: CancelAttributes,
pub content: Fifths,
}Expand description
The Cancel element indicates that the old key signature should be cancelled before the new one appears.

This will always happen when changing to C major or A minor and need not be specified then. The Cancel element value matches the fifths value of the cancelled key signature (e.g., a cancel of -2 will provide an explicit cancellation for changing from B flat major to F major).
Fields§
§attributes: CancelAttributesElement-specific attributes
content: FifthsElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Cancel
impl ElementDeserializer for Cancel
fn deserialize(element: &XmlElement) -> Result<Cancel, String>
Source§impl ElementSerializer for Cancel
impl ElementSerializer for Cancel
fn serialize(element: &Cancel) -> XmlElement
impl Eq for Cancel
impl StructuralPartialEq for Cancel
Auto Trait Implementations§
impl Freeze for Cancel
impl RefUnwindSafe for Cancel
impl Send for Cancel
impl Sync for Cancel
impl Unpin for Cancel
impl UnwindSafe for Cancel
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