Module sdl2::event

source ·
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

Traits