Module sdl2::event
[−]
[src]
Event Handling
Structs
EventPollIterator |
An iterator that calls |
EventPump |
A thread-safe type that encapsulates SDL event-pumping functions. |
EventWaitIterator |
An iterator that calls |
EventWaitTimeoutIterator |
An iterator that calls |
Enums
Event |
Different event types. |
EventType |
Types of events that can be delivered. |
WindowEventId |
An enum of window events. |
Functions
flush_event |
Removes all events in the event queue that match the specified event type. |
flush_events |
Removes all events in the event queue that match the specified type range. |
peek_events |
Reads the events at the front of the event queue, until the maximum amount of events is read. |
push_event |
Pushes an event to the event queue. |