pub struct Staff {
pub attributes: (),
pub content: PositiveInteger,
}Expand description
Staff assignment is only needed for music notated on multiple staves.
Staff values are numbers, with 1 referring to the top-most staff in a part.
Fields§
§attributes: ()Element-specific attributes
content: PositiveIntegerElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Staff
impl ElementDeserializer for Staff
fn deserialize(element: &XmlElement) -> Result<Staff, String>
Source§impl ElementSerializer for Staff
impl ElementSerializer for Staff
fn serialize(element: &Staff) -> XmlElement
impl Eq for Staff
impl StructuralPartialEq for Staff
Auto Trait Implementations§
impl Freeze for Staff
impl RefUnwindSafe for Staff
impl Send for Staff
impl Sync for Staff
impl Unpin for Staff
impl UnwindSafe for Staff
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