Function sdl2::event::filter_events[src]
pub fn filter_events(filter_func: extern "C" fn(event: Event) -> bool)
Run a specific filter function on the current event queue, removing any events for which the filter returns 0.
pub fn filter_events(filter_func: extern "C" fn(event: Event) -> bool)
Run a specific filter function on the current event queue, removing any events for which the filter returns 0.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).