pub struct PointerMove { /* private fields */ }Expand description
Pointer changes any properties that don’t fire PointerDown or PointerUp events.
This includes any changes to coordinates, pressure, tangential pressure, tilt, twist, dimensions or pressing/releasing buttons while another button is held.
Implementations§
Source§impl PointerMove
impl PointerMove
pub fn new(pointer: PointerProperties, modifiers: Modifiers) -> Self
Sourcepub fn pointer(&self) -> &PointerProperties
pub fn pointer(&self) -> &PointerProperties
The properties of the pointer at the time of the event
Trait Implementations§
Source§impl Clone for PointerMove
impl Clone for PointerMove
Source§fn clone(&self) -> PointerMove
fn clone(&self) -> PointerMove
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 PointerMove
impl Debug for PointerMove
Source§impl PartialEq for PointerMove
impl PartialEq for PointerMove
impl StructuralPartialEq for PointerMove
Auto Trait Implementations§
impl Freeze for PointerMove
impl RefUnwindSafe for PointerMove
impl Send for PointerMove
impl Sync for PointerMove
impl Unpin for PointerMove
impl UnwindSafe for PointerMove
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