Function sdl2::event::flush_event[src]

pub fn flush_event(_type: EventType)

Clear events from the event queue.