pub struct CarouselSnapModel1D {
pub snaps_px: Vec<Px>,
pub slides_by_snap: Vec<Vec<usize>>,
pub snap_by_slide: Vec<usize>,
pub max_offset_px: Px,
}Fields§
§snaps_px: Vec<Px>§slides_by_snap: Vec<Vec<usize>>§snap_by_slide: Vec<usize>§max_offset_px: PxTrait Implementations§
Source§impl Clone for CarouselSnapModel1D
impl Clone for CarouselSnapModel1D
Source§fn clone(&self) -> CarouselSnapModel1D
fn clone(&self) -> CarouselSnapModel1D
Returns a duplicate 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 Debug for CarouselSnapModel1D
impl Debug for CarouselSnapModel1D
Source§impl PartialEq for CarouselSnapModel1D
impl PartialEq for CarouselSnapModel1D
impl StructuralPartialEq for CarouselSnapModel1D
Auto Trait Implementations§
impl Freeze for CarouselSnapModel1D
impl RefUnwindSafe for CarouselSnapModel1D
impl Send for CarouselSnapModel1D
impl Sync for CarouselSnapModel1D
impl Unpin for CarouselSnapModel1D
impl UnsafeUnpin for CarouselSnapModel1D
impl UnwindSafe for CarouselSnapModel1D
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