pub struct Unpitched {
pub attributes: (),
pub content: UnpitchedContents,
}Expand description
The Unpitched element represents notes that are notated on the staff but lack definite pitch, such as unpitched percussion and speaking voice.

If the child elements are not present, the note is placed on the middle line of the staff. This is generally used with a one-line staff. Notes in percussion clef should always use an Unpitched element rather than a Pitch element.
Fields§
§attributes: ()Element-specific attributes
content: UnpitchedContentsElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Unpitched
impl ElementDeserializer for Unpitched
fn deserialize(element: &XmlElement) -> Result<Unpitched, String>
Source§impl ElementSerializer for Unpitched
impl ElementSerializer for Unpitched
fn serialize(element: &Unpitched) -> XmlElement
impl Eq for Unpitched
impl StructuralPartialEq for Unpitched
Auto Trait Implementations§
impl Freeze for Unpitched
impl RefUnwindSafe for Unpitched
impl Send for Unpitched
impl Sync for Unpitched
impl Unpin for Unpitched
impl UnwindSafe for Unpitched
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