pub enum TimingFormat {
Seconds,
Milliseconds,
Human,
}Expand description
Format for displaying durations
Variants§
Seconds
Display as seconds with decimals (e.g., “1.234s”)
Milliseconds
Display as milliseconds (e.g., “1234ms”)
Human
Display in human-readable format (e.g., “2m 5s” or “1s 234ms”)
Trait Implementations§
Source§impl Clone for TimingFormat
impl Clone for TimingFormat
Source§fn clone(&self) -> TimingFormat
fn clone(&self) -> TimingFormat
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 moreAuto Trait Implementations§
impl Freeze for TimingFormat
impl RefUnwindSafe for TimingFormat
impl Send for TimingFormat
impl Sync for TimingFormat
impl Unpin for TimingFormat
impl UnwindSafe for TimingFormat
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