pub struct PointerCancelEvent {
pub pointer_id: PointerId,
pub position: Option<Point>,
pub buttons: MouseButtons,
pub modifiers: Modifiers,
pub pointer_type: PointerType,
pub reason: PointerCancelReason,
}Fields§
§pointer_id: PointerId§position: Option<Point>When provided by the platform, this is the last known pointer position (logical pixels).
modifiers: Modifiers§pointer_type: PointerType§reason: PointerCancelReasonTrait Implementations§
Source§impl Clone for PointerCancelEvent
impl Clone for PointerCancelEvent
Source§fn clone(&self) -> PointerCancelEvent
fn clone(&self) -> PointerCancelEvent
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 moreSource§impl Debug for PointerCancelEvent
impl Debug for PointerCancelEvent
Source§impl PartialEq for PointerCancelEvent
impl PartialEq for PointerCancelEvent
impl StructuralPartialEq for PointerCancelEvent
Auto Trait Implementations§
impl Freeze for PointerCancelEvent
impl RefUnwindSafe for PointerCancelEvent
impl Send for PointerCancelEvent
impl Sync for PointerCancelEvent
impl Unpin for PointerCancelEvent
impl UnsafeUnpin for PointerCancelEvent
impl UnwindSafe for PointerCancelEvent
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