pub struct TimerList(/* private fields */);Implementations§
Source§impl TimerList
impl TimerList
pub fn new() -> Self
Sourcepub fn slot_by_source_mut(&mut self, source: Source) -> &mut Slot
pub fn slot_by_source_mut(&mut self, source: Source) -> &mut Slot
Mutably get the slot for a source.
pub fn next_timer(&self) -> &Slot
Sourcepub fn next_timer_mut(&mut self) -> &mut Slot
pub fn next_timer_mut(&mut self) -> &mut Slot
Find and mutably get the next timer to fire (may return one that is not currently set if none are set).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimerList
impl RefUnwindSafe for TimerList
impl Send for TimerList
impl Sync for TimerList
impl Unpin for TimerList
impl UnsafeUnpin for TimerList
impl UnwindSafe for TimerList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more