pub struct TapEvent {
pub id: PointerId,
pub position: Vec2,
}Expand description
A press that ended without moving past the touch slop.
Fields§
§id: PointerId§position: Vec2Trait Implementations§
Auto Trait Implementations§
impl Forget for TapEvent
impl Freeze for TapEvent
impl Move for TapEvent
impl RefUnwindSafe for TapEvent
impl Send for TapEvent
impl Sync for TapEvent
impl Unpin for TapEvent
impl UnsafeUnpin for TapEvent
impl UnwindSafe for TapEvent
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