pub enum TimerState {
Idle,
Running,
Finished,
}Expand description
Where a timer is.
Variants§
Idle
Waiting for the start predicate.
Running
Started; the next split has not fired.
Finished
The last split fired. Stays until the reset predicate (or a
discontinuity) returns it to Self::Idle.
Implementations§
Trait Implementations§
Source§impl Clone for TimerState
impl Clone for TimerState
impl Copy for TimerState
Source§impl Debug for TimerState
impl Debug for TimerState
impl Eq for TimerState
Source§impl PartialEq for TimerState
impl PartialEq for TimerState
impl StructuralPartialEq for TimerState
Auto Trait Implementations§
impl Freeze for TimerState
impl RefUnwindSafe for TimerState
impl Send for TimerState
impl Sync for TimerState
impl Unpin for TimerState
impl UnsafeUnpin 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