pub struct PagePublication {
pub is_title_page: bool,
pub title: String,
pub movement_title: String,
pub composer: String,
pub lyricist: String,
pub copyright: String,
pub running_title: Option<String>,
pub part_labels: Vec<PartLabel>,
pub part_groups: Vec<PartGroupMark>,
pub measure_numbers: Vec<u32>,
pub text_blocks: Vec<PublicationTextBlock>,
}Expand description
Publication information for one logical page.
Fields§
§is_title_page: bool§title: String§movement_title: String§composer: String§lyricist: String§copyright: String§running_title: Option<String>§part_labels: Vec<PartLabel>§part_groups: Vec<PartGroupMark>§measure_numbers: Vec<u32>§text_blocks: Vec<PublicationTextBlock>Trait Implementations§
Source§impl Clone for PagePublication
impl Clone for PagePublication
Source§fn clone(&self) -> PagePublication
fn clone(&self) -> PagePublication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PagePublication
impl Debug for PagePublication
Source§impl Default for PagePublication
impl Default for PagePublication
Source§fn default() -> PagePublication
fn default() -> PagePublication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PagePublicationwhere
PagePublication: Default,
impl<'de> Deserialize<'de> for PagePublicationwhere
PagePublication: Default,
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
Source§impl PartialEq for PagePublication
impl PartialEq for PagePublication
Source§impl Serialize for PagePublication
impl Serialize for PagePublication
impl StructuralPartialEq for PagePublication
Auto Trait Implementations§
impl Freeze for PagePublication
impl RefUnwindSafe for PagePublication
impl Send for PagePublication
impl Sync for PagePublication
impl Unpin for PagePublication
impl UnsafeUnpin for PagePublication
impl UnwindSafe for PagePublication
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