Struct sdl2::event::EventWatch [−][src]
pub struct EventWatch<'a, CB: EventWatchCallback + 'a> { /* fields omitted */ }Expand description
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].
Implementations
Deactivates the event watch. Does nothing if it is already activated.
Set the activation state of the event watch.