pub struct MotionSwipe {Show 14 fields
pub direction: MotionSwipeDirection,
pub threshold: f32,
pub drag_scale: f32,
pub max_acceleration: f32,
pub max_velocity: f32,
pub nested_scroll_flags: u8,
pub move_when_scroll_at_top: bool,
pub spring: Option<MotionSpringConfig>,
pub anchor: Option<&'static str>,
pub rotation_center: Option<&'static str>,
pub side: MotionSwipeSide,
pub region: Option<&'static str>,
pub bounds: Option<&'static str>,
pub release: MotionSwipeRelease,
}Fields§
§direction: MotionSwipeDirection§threshold: f32§drag_scale: f32§max_acceleration: f32§max_velocity: f32§nested_scroll_flags: u8§move_when_scroll_at_top: bool§spring: Option<MotionSpringConfig>§anchor: Option<&'static str>§rotation_center: Option<&'static str>§side: MotionSwipeSide§region: Option<&'static str>§bounds: Option<&'static str>§release: MotionSwipeReleaseTrait Implementations§
Source§impl Clone for MotionSwipe
impl Clone for MotionSwipe
impl Copy for MotionSwipe
Auto Trait Implementations§
impl Forget for MotionSwipe
impl Freeze for MotionSwipe
impl Move for MotionSwipe
impl RefUnwindSafe for MotionSwipe
impl Send for MotionSwipe
impl Sync for MotionSwipe
impl Unpin for MotionSwipe
impl UnsafeUnpin for MotionSwipewhere
&'static str: UnsafeUnpin,
impl UnwindSafe for MotionSwipewhere
&'static str: UnwindSafe,
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