pub struct CarouselConfig {
pub modifier: Modifier,
}Expand description
M3 Carousel - a horizontally scrolling container with peek edges.
Uses a LazyRow internally. The first and last items are partially visible
(peek) to indicate there is more scrollable content.
Configuration for Carousel.
Fields§
§modifier: ModifierTrait Implementations§
Source§impl Clone for CarouselConfig
impl Clone for CarouselConfig
Source§fn clone(&self) -> CarouselConfig
fn clone(&self) -> CarouselConfig
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 moreSource§impl Debug for CarouselConfig
impl Debug for CarouselConfig
Auto Trait Implementations§
impl !RefUnwindSafe for CarouselConfig
impl !Send for CarouselConfig
impl !Sync for CarouselConfig
impl !UnwindSafe for CarouselConfig
impl Freeze for CarouselConfig
impl Unpin for CarouselConfig
impl UnsafeUnpin for CarouselConfig
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