Enum livesplit_wrapper::TimerState
source · [−]#[repr(u8)]
pub enum TimerState {
NotRunning,
Running,
Paused,
Ended,
}Expand description
The possible states of the timer.
Variants
NotRunning
The timer has yet to be started.
Running
The timer is currently running.
Paused
The timer is paused.
Ended
The timer is stopped because a run was completed.
Trait Implementations
sourceimpl Clone for TimerState
impl Clone for TimerState
sourcefn clone(&self) -> TimerState
fn clone(&self) -> TimerState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TimerState
impl Debug for TimerState
sourceimpl PartialEq<TimerState> for TimerState
impl PartialEq<TimerState> for TimerState
sourcefn eq(&self, other: &TimerState) -> bool
fn eq(&self, other: &TimerState) -> bool
impl Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
