#[non_exhaustive]pub struct DefaultPaginatedLayoutConfiguration {
pub section_based: Option<DefaultSectionBasedLayoutConfiguration>,
}
Expand description
The options that determine the default settings for a paginated layout configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.section_based: Option<DefaultSectionBasedLayoutConfiguration>
The options that determine the default settings for a section-based layout configuration.
Implementations§
source§impl DefaultPaginatedLayoutConfiguration
impl DefaultPaginatedLayoutConfiguration
sourcepub fn section_based(&self) -> Option<&DefaultSectionBasedLayoutConfiguration>
pub fn section_based(&self) -> Option<&DefaultSectionBasedLayoutConfiguration>
The options that determine the default settings for a section-based layout configuration.
source§impl DefaultPaginatedLayoutConfiguration
impl DefaultPaginatedLayoutConfiguration
sourcepub fn builder() -> DefaultPaginatedLayoutConfigurationBuilder
pub fn builder() -> DefaultPaginatedLayoutConfigurationBuilder
Creates a new builder-style object to manufacture DefaultPaginatedLayoutConfiguration
.
Trait Implementations§
source§impl Clone for DefaultPaginatedLayoutConfiguration
impl Clone for DefaultPaginatedLayoutConfiguration
source§fn clone(&self) -> DefaultPaginatedLayoutConfiguration
fn clone(&self) -> DefaultPaginatedLayoutConfiguration
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 for DefaultPaginatedLayoutConfiguration
impl PartialEq for DefaultPaginatedLayoutConfiguration
source§fn eq(&self, other: &DefaultPaginatedLayoutConfiguration) -> bool
fn eq(&self, other: &DefaultPaginatedLayoutConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefaultPaginatedLayoutConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for DefaultPaginatedLayoutConfiguration
impl Send for DefaultPaginatedLayoutConfiguration
impl Sync for DefaultPaginatedLayoutConfiguration
impl Unpin for DefaultPaginatedLayoutConfiguration
impl UnwindSafe for DefaultPaginatedLayoutConfiguration
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.