pub enum StopwatchFormat {
Human,
Digital,
Seconds,
}Expand description
Display format for the stopwatch.
Variants§
Human
Human-readable with units: “1h30m15s”, “45s”, “100ms”.
Digital
Fixed-width digital clock: “01:30:15”, “00:00:45”.
Seconds
Compact seconds only: “5415s”, “45s”.
Trait Implementations§
Source§impl Clone for StopwatchFormat
impl Clone for StopwatchFormat
Source§fn clone(&self) -> StopwatchFormat
fn clone(&self) -> StopwatchFormat
Returns a duplicate 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 StopwatchFormat
impl Debug for StopwatchFormat
Source§impl Default for StopwatchFormat
impl Default for StopwatchFormat
Source§fn default() -> StopwatchFormat
fn default() -> StopwatchFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for StopwatchFormat
impl PartialEq for StopwatchFormat
impl Copy for StopwatchFormat
impl Eq for StopwatchFormat
impl StructuralPartialEq for StopwatchFormat
Auto Trait Implementations§
impl Freeze for StopwatchFormat
impl RefUnwindSafe for StopwatchFormat
impl Send for StopwatchFormat
impl Sync for StopwatchFormat
impl Unpin for StopwatchFormat
impl UnsafeUnpin for StopwatchFormat
impl UnwindSafe for StopwatchFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.