[−][src]Struct sixtyfps_corelib::timers::TimerList
TimerList provides the interface to the event loop for activating times and determining the nearest timeout.
Implementations
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 !Send for TimerList
impl !Sync for TimerList
impl Unpin for TimerList
impl !UnwindSafe for TimerList
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,