#[non_exhaustive]pub struct SectionBasedLayoutConfiguration { /* private fields */ }
Expand description
The configuration for a section-based layout.
Implementations§
source§impl SectionBasedLayoutConfiguration
impl SectionBasedLayoutConfiguration
sourcepub fn header_sections(&self) -> Option<&[HeaderFooterSectionConfiguration]>
pub fn header_sections(&self) -> Option<&[HeaderFooterSectionConfiguration]>
A list of header section configurations.
sourcepub fn body_sections(&self) -> Option<&[BodySectionConfiguration]>
pub fn body_sections(&self) -> Option<&[BodySectionConfiguration]>
A list of body section configurations.
A list of footer section configurations.
sourcepub fn canvas_size_options(
&self
) -> Option<&SectionBasedLayoutCanvasSizeOptions>
pub fn canvas_size_options(
&self
) -> Option<&SectionBasedLayoutCanvasSizeOptions>
The options for the canvas of a section-based layout.
source§impl SectionBasedLayoutConfiguration
impl SectionBasedLayoutConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SectionBasedLayoutConfiguration
.
Trait Implementations§
source§impl Clone for SectionBasedLayoutConfiguration
impl Clone for SectionBasedLayoutConfiguration
source§fn clone(&self) -> SectionBasedLayoutConfiguration
fn clone(&self) -> SectionBasedLayoutConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<SectionBasedLayoutConfiguration> for SectionBasedLayoutConfiguration
impl PartialEq<SectionBasedLayoutConfiguration> for SectionBasedLayoutConfiguration
source§fn eq(&self, other: &SectionBasedLayoutConfiguration) -> bool
fn eq(&self, other: &SectionBasedLayoutConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.