pub struct PointerEvent {
pub x: f32,
pub y: f32,
pub action: PointerAction,
pub modifiers: InputEventModifiers,
pub buttons: PointerButtons,
}Expand description
A pointer event.
Fields§
§x: f32The x position of the pointer.
y: f32The y position of the pointer.
action: PointerActionThe pointer action.
modifiers: InputEventModifiersThe modifiers held during the event.
The buttons held during the event.
Auto Trait Implementations§
impl Freeze for PointerEvent
impl RefUnwindSafe for PointerEvent
impl Send for PointerEvent
impl Sync for PointerEvent
impl Unpin for PointerEvent
impl UnsafeUnpin for PointerEvent
impl UnwindSafe for PointerEvent
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