pub struct PointerMove {
pub x: f32,
pub y: f32,
pub pointer: PointerKind,
pub finger: Option<u64>,
pub modifiers: KeyModifiers,
pub captured: bool,
}Expand description
Data from a pointer move event.
Fields§
§x: f32X coordinate.
y: f32Y coordinate.
pointer: PointerKindPointer kind (Mouse, Touch, Pen).
finger: Option<u64>Finger index for multi-touch events.
modifiers: KeyModifiersActive modifier keys.
captured: boolWhether the event was consumed by a widget before reaching the global subscription layer.
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 (const: unstable) · 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 PointerMove
impl RefUnwindSafe for PointerMove
impl Send for PointerMove
impl Sync for PointerMove
impl Unpin for PointerMove
impl UnsafeUnpin 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