pub struct PagerConfig {
pub modifier: Modifier,
pub page_spacing: f32,
pub user_scroll_enabled: bool,
pub content_padding: PaddingValues,
}Expand description
Configuration for HorizontalPager and VerticalPager.
Fields§
§modifier: Modifier§page_spacing: f32§user_scroll_enabled: bool§content_padding: PaddingValuesTrait Implementations§
Source§impl Clone for PagerConfig
impl Clone for PagerConfig
Source§fn clone(&self) -> PagerConfig
fn clone(&self) -> PagerConfig
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PagerConfig
impl !Send for PagerConfig
impl !Sync for PagerConfig
impl !UnwindSafe for PagerConfig
impl Freeze for PagerConfig
impl Unpin for PagerConfig
impl UnsafeUnpin for PagerConfig
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