pub struct PointerGestureEvent {
pub pointer: PointerInfo,
pub gesture: PointerGesture,
pub state: PointerState,
}Expand description
An event representing a gesture
Fields§
§pointer: PointerInfoIdentity of the pointer.
gesture: PointerGestureThe gesture being performed.
state: PointerStateThe state of the pointer (i.e. position, pressure, etc.).
Trait Implementations§
Source§impl Clone for PointerGestureEvent
impl Clone for PointerGestureEvent
Source§fn clone(&self) -> PointerGestureEvent
fn clone(&self) -> PointerGestureEvent
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 PointerGestureEvent
impl RefUnwindSafe for PointerGestureEvent
impl Send for PointerGestureEvent
impl Sync for PointerGestureEvent
impl Unpin for PointerGestureEvent
impl UnwindSafe for PointerGestureEvent
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