pub struct PartGroup {
pub first_part: usize,
pub last_part: usize,
pub symbol: PartGroupSymbol,
pub barlines_connect: bool,
}Expand description
Groups a range of adjacent parts with a bracket or brace for rendering.
Fields§
§first_part: usizeIndex of the first part in the group (inclusive).
last_part: usizeIndex of the last part in the group (inclusive).
symbol: PartGroupSymbol§barlines_connect: boolWhether barlines are connected across all staves in the group.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartGroup
impl<'de> Deserialize<'de> for PartGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PartGroup
impl RefUnwindSafe for PartGroup
impl Send for PartGroup
impl Sync for PartGroup
impl Unpin for PartGroup
impl UnsafeUnpin for PartGroup
impl UnwindSafe for PartGroup
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