pub struct Section {
pub blocks: Vec<LayoutBlock>,
pub geometry: PageGeometry,
pub header_footer: Option<HeaderFooterContent>,
pub title_pg: bool,
pub page_number_start: Option<usize>,
}Expand description
A section with its blocks, geometry, and header/footer content.
Fields§
§blocks: Vec<LayoutBlock>§geometry: PageGeometry§title_pg: boolWhether this section uses a different first page header/footer.
page_number_start: Option<usize>Displayed page number assigned to the first page of this section.
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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