pub type CursorEvent = PointerChange;Expand description
Backward-compatible alias for older naming.
Aliased Type§
pub struct CursorEvent {
pub timestamp: Instant,
pub pointer_id: u64,
pub content: CursorEventContent,
pub gesture_state: GestureState,
/* private fields */
}Fields§
§timestamp: InstantTimestamp indicating when this event occurred.
pointer_id: u64Pointer identifier for this input stream.
content: CursorEventContentThe specific type and data of this cursor event.
gesture_state: GestureStateClassification of the gesture associated with this event.
Events originating from touch scrolling will mark this as
GestureState::Dragged, allowing downstream components to
distinguish tap candidates from scroll gestures.