#[non_exhaustive]pub struct DefaultPaginatedLayoutConfigurationBuilder { /* private fields */ }
Expand description
A builder for DefaultPaginatedLayoutConfiguration
.
Implementations§
source§impl DefaultPaginatedLayoutConfigurationBuilder
impl DefaultPaginatedLayoutConfigurationBuilder
sourcepub fn section_based(
self,
input: DefaultSectionBasedLayoutConfiguration
) -> Self
pub fn section_based( self, input: DefaultSectionBasedLayoutConfiguration ) -> Self
The options that determine the default settings for a section-based layout configuration.
sourcepub fn set_section_based(
self,
input: Option<DefaultSectionBasedLayoutConfiguration>
) -> Self
pub fn set_section_based( self, input: Option<DefaultSectionBasedLayoutConfiguration> ) -> Self
The options that determine the default settings for a section-based layout configuration.
sourcepub fn get_section_based(
&self
) -> &Option<DefaultSectionBasedLayoutConfiguration>
pub fn get_section_based( &self ) -> &Option<DefaultSectionBasedLayoutConfiguration>
The options that determine the default settings for a section-based layout configuration.
sourcepub fn build(self) -> DefaultPaginatedLayoutConfiguration
pub fn build(self) -> DefaultPaginatedLayoutConfiguration
Consumes the builder and constructs a DefaultPaginatedLayoutConfiguration
.
Trait Implementations§
source§impl Clone for DefaultPaginatedLayoutConfigurationBuilder
impl Clone for DefaultPaginatedLayoutConfigurationBuilder
source§fn clone(&self) -> DefaultPaginatedLayoutConfigurationBuilder
fn clone(&self) -> DefaultPaginatedLayoutConfigurationBuilder
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 Default for DefaultPaginatedLayoutConfigurationBuilder
impl Default for DefaultPaginatedLayoutConfigurationBuilder
source§fn default() -> DefaultPaginatedLayoutConfigurationBuilder
fn default() -> DefaultPaginatedLayoutConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DefaultPaginatedLayoutConfigurationBuilder
impl PartialEq for DefaultPaginatedLayoutConfigurationBuilder
source§fn eq(&self, other: &DefaultPaginatedLayoutConfigurationBuilder) -> bool
fn eq(&self, other: &DefaultPaginatedLayoutConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefaultPaginatedLayoutConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DefaultPaginatedLayoutConfigurationBuilder
impl Send for DefaultPaginatedLayoutConfigurationBuilder
impl Sync for DefaultPaginatedLayoutConfigurationBuilder
impl Unpin for DefaultPaginatedLayoutConfigurationBuilder
impl UnwindSafe for DefaultPaginatedLayoutConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.