pub enum GestureEvent {
Swipe {
direction: SwipeDirection,
velocity: f32,
},
Pinch {
scale: f32,
},
LongPress {
x: f32,
y: f32,
duration: f32,
},
Pan {
dx: f32,
dy: f32,
},
}Expand description
Mobile gesture events
Variants§
Trait Implementations§
Source§impl Clone for GestureEvent
impl Clone for GestureEvent
Source§fn clone(&self) -> GestureEvent
fn clone(&self) -> GestureEvent
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 moreAuto Trait Implementations§
impl Freeze for GestureEvent
impl RefUnwindSafe for GestureEvent
impl Send for GestureEvent
impl Sync for GestureEvent
impl Unpin for GestureEvent
impl UnwindSafe for GestureEvent
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