Function sdl2::event::wait_event_timeout[src]
pub fn wait_event_timeout(timeout: int) -> Result<Event, ~str>
Wait until the specified timeout (in milliseconds) for the next available event.
pub fn wait_event_timeout(timeout: int) -> Result<Event, ~str>
Wait until the specified timeout (in milliseconds) for the next available event.
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
).