pub enum TimerEvent {
Tick,
StopTimer,
}Expand description
Events generated by the timer system.
Variants§
Tick
Generated every second to indicate a tick has occurred.
StopTimer
Generated when the timer is stopped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimerEvent
impl RefUnwindSafe for TimerEvent
impl Send for TimerEvent
impl Sync for TimerEvent
impl Unpin for TimerEvent
impl UnsafeUnpin for TimerEvent
impl UnwindSafe for TimerEvent
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