pub enum ScrollGesture {
None,
MouseWheel,
TouchpadPan,
PinchScroll,
}Expand description
Classified scroll gesture — maps to donor UiScrollGesture.
Variants§
None
MouseWheel
Discrete mouse-wheel notch → zoom-at-cursor.
TouchpadPan
Smooth two-finger trackpad pan.
PinchScroll
Ctrl + smooth scroll (Wayland pinch fallback).
Trait Implementations§
Source§impl Clone for ScrollGesture
impl Clone for ScrollGesture
impl Copy for ScrollGesture
Source§impl Debug for ScrollGesture
impl Debug for ScrollGesture
Source§impl Default for ScrollGesture
impl Default for ScrollGesture
impl Eq for ScrollGesture
Source§impl PartialEq for ScrollGesture
impl PartialEq for ScrollGesture
impl StructuralPartialEq for ScrollGesture
Auto Trait Implementations§
impl Forget for ScrollGesture
impl Freeze for ScrollGesture
impl Move for ScrollGesture
impl RefUnwindSafe for ScrollGesture
impl Send for ScrollGesture
impl Sync for ScrollGesture
impl Unpin for ScrollGesture
impl UnsafeUnpin for ScrollGesture
impl UnwindSafe for ScrollGesture
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