Enum time::timer::TimerState  
source · pub enum TimerState {
    Running,
    Paused,
    Stopped,
}Expand description
The timer state.
Variants§
Trait Implementations§
source§impl Clone for TimerState
 
impl Clone for TimerState
source§fn clone(&self) -> TimerState
 
fn clone(&self) -> TimerState
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 TimerState
 
impl Debug for TimerState
source§impl Default for TimerState
 
impl Default for TimerState
source§fn default() -> TimerState
 
fn default() -> TimerState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimerState
 
impl<'de> Deserialize<'de> for TimerState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TimerState
 
impl PartialEq for TimerState
source§fn eq(&self, other: &TimerState) -> bool
 
fn eq(&self, other: &TimerState) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for TimerState
 
impl Serialize for TimerState
impl Eq for TimerState
impl StructuralEq for TimerState
impl StructuralPartialEq for TimerState
Auto Trait Implementations§
impl RefUnwindSafe for TimerState
impl Send for TimerState
impl Sync for TimerState
impl Unpin for TimerState
impl UnwindSafe for TimerState
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