Crate ui_events_winit

Crate ui_events_winit 

Source
Expand description

This crate bridges winit’s native input events (mouse, touch, keyboard, etc.) into the ui-events model.

The primary entry point is WindowEventReducer.

Modules§

keyboard
Support routines for converting keyboard data from winit
pointer
Support routines for converting pointer data from winit.

Structs§

Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
WindowEventReducer
Manages stateful transformations of winit WindowEvent.

Enums§

WindowEventTranslation
Result of WindowEventReducer::reduce.