pub struct PartSymbol {
pub attributes: PartSymbolAttributes,
pub content: GroupSymbolValue,
}Expand description
The PartSymbol element indicates how a symbol for a multi-staff part is indicated in the score.
Brace is the default value.
The top_staff and bottom_staff attributes are used when the brace does not extend across the entire part. For example, in a 3-staff organ
part, the top_staff will typically be 1 for the right hand, while the bottom_staff will typically be 2 for the left hand. Staff 3 for the pedals
is usually outside the brace. By default, the presence of a PartSymbol element that does not extend across the entire part also indicates a corresponding
change in the common barlines within a part.
Fields§
§attributes: PartSymbolAttributesElement-specific attributes
content: GroupSymbolValueElement-specific content
Trait Implementations§
Source§impl Debug for PartSymbol
impl Debug for PartSymbol
Source§impl ElementDeserializer for PartSymbol
impl ElementDeserializer for PartSymbol
fn deserialize(element: &XmlElement) -> Result<PartSymbol, String>
Source§impl ElementSerializer for PartSymbol
impl ElementSerializer for PartSymbol
fn serialize(element: &PartSymbol) -> XmlElement
Source§impl PartialEq for PartSymbol
impl PartialEq for PartSymbol
impl Eq for PartSymbol
impl StructuralPartialEq for PartSymbol
Auto Trait Implementations§
impl Freeze for PartSymbol
impl RefUnwindSafe for PartSymbol
impl Send for PartSymbol
impl Sync for PartSymbol
impl Unpin for PartSymbol
impl UnwindSafe for PartSymbol
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