Enum time::timer::TimerEvent  
source · pub enum TimerEvent {
    Started,
    Began(TimerCycle),
    Running(TimerCycle),
    Set(TimerCycle),
    Paused(TimerCycle),
    Resumed(TimerCycle),
    Ended(TimerCycle),
    Stopped,
}Expand description
The timer event.
Variants§
Started
The timer started.
Began(TimerCycle)
The timer began the given cycle.
Running(TimerCycle)
The timer is running the given cycle (tick).
Set(TimerCycle)
The timer has been set to the given cycle.
Paused(TimerCycle)
The timer has been paused at the given cycle.
Resumed(TimerCycle)
The timer has been resumed at the given cycle.
Ended(TimerCycle)
The timer ended with the given cycle.
Stopped
The timer stopped.
Trait Implementations§
source§impl Clone for TimerEvent
 
impl Clone for TimerEvent
source§fn clone(&self) -> TimerEvent
 
fn clone(&self) -> TimerEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for TimerEvent
 
impl Debug for TimerEvent
source§impl PartialEq for TimerEvent
 
impl PartialEq for TimerEvent
source§fn eq(&self, other: &TimerEvent) -> bool
 
fn eq(&self, other: &TimerEvent) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for TimerEvent
impl StructuralEq for TimerEvent
impl StructuralPartialEq for TimerEvent
Auto Trait Implementations§
impl RefUnwindSafe for TimerEvent
impl Send for TimerEvent
impl Sync for TimerEvent
impl Unpin 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