pub struct PublicationSection {
pub first_measure: usize,
pub title: String,
pub start_on_new_page: bool,
}Expand description
A named publication section beginning at one physical measure.
Sections belong to a PrintConfig, rather than the editable score, so a host can prepare
editions or parts with different headings and page starts without changing notation data.
Fields§
§first_measure: usizeZero-based physical measure at which this section begins.
title: String§start_on_new_page: boolWhen true, begin this section on a fresh physical page.
Trait Implementations§
Source§impl Clone for PublicationSection
impl Clone for PublicationSection
Source§impl Debug for PublicationSection
impl Debug for PublicationSection
Source§impl<'de> Deserialize<'de> for PublicationSection
impl<'de> Deserialize<'de> for PublicationSection
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
impl Eq for PublicationSection
Source§impl PartialEq for PublicationSection
impl PartialEq for PublicationSection
Source§impl Serialize for PublicationSection
impl Serialize for PublicationSection
impl StructuralPartialEq for PublicationSection
Auto Trait Implementations§
impl Freeze for PublicationSection
impl RefUnwindSafe for PublicationSection
impl Send for PublicationSection
impl Sync for PublicationSection
impl Unpin for PublicationSection
impl UnsafeUnpin for PublicationSection
impl UnwindSafe for PublicationSection
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