Module sdl2::event [−][src]
Expand description
Event Handling
Structs
An iterator that calls EventPump::poll_event().
A sendible type that can push events to the event queue.
An iterator that calls EventPump::wait_event().
An iterator that calls EventPump::wait_event_timeout().
An handler for the event watch callback.
One must bind this struct in a variable as long as you want to keep the callback active.
For further information, see [EventSubsystem::add_event_watch].
Enums
Different event types.
Types of events that can be delivered.
An enum of window events.
Traits
A callback trait for [EventSubsystem::add_event_watch].