pub struct CarouselDragConfig {
pub drag_threshold_px: f32,
pub snap_threshold_fraction: f32,
pub touch_prevent_scroll: bool,
pub touch_scroll_lock_threshold_px: f32,
}Fields§
§drag_threshold_px: f32§snap_threshold_fraction: f32§touch_prevent_scroll: bool§touch_scroll_lock_threshold_px: f32Trait Implementations§
Source§impl Clone for CarouselDragConfig
impl Clone for CarouselDragConfig
Source§fn clone(&self) -> CarouselDragConfig
fn clone(&self) -> CarouselDragConfig
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 CarouselDragConfig
impl Debug for CarouselDragConfig
Source§impl Default for CarouselDragConfig
impl Default for CarouselDragConfig
Source§fn default() -> CarouselDragConfig
fn default() -> CarouselDragConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CarouselDragConfig
impl PartialEq for CarouselDragConfig
impl Copy for CarouselDragConfig
impl StructuralPartialEq for CarouselDragConfig
Auto Trait Implementations§
impl Freeze for CarouselDragConfig
impl RefUnwindSafe for CarouselDragConfig
impl Send for CarouselDragConfig
impl Sync for CarouselDragConfig
impl Unpin for CarouselDragConfig
impl UnsafeUnpin for CarouselDragConfig
impl UnwindSafe for CarouselDragConfig
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