Struct sixtyfps_corelib::timers::TimerList [−][src]
pub struct TimerList { /* fields omitted */ }
TimerList provides the interface to the event loop for activating times and determining the nearest timeout.
Implementations
impl TimerList
[src]
impl TimerList
[src]pub fn next_timeout() -> Option<Instant>
[src]
Returns the timeout of the timer that should fire the soonest, or None if there is no timer active.
pub fn maybe_activate_timers() -> bool
[src]
Activates any expired timers by calling their callback function. Returns true if any timers were activated; false otherwise.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TimerList
impl !RefUnwindSafe for TimerList
impl !UnwindSafe for TimerList
impl !UnwindSafe for TimerList