pub enum ElapsedUnit {
Seconds,
Minutes,
Hours,
}Expand description
Display unit of one elapsed-time tier.
Variants§
Seconds
Seconds, used below the one-minute boundary.
Minutes
Minutes, used below the one-hour boundary.
Hours
Hours, used at and above the one-hour boundary.
Implementations§
Trait Implementations§
Source§impl Clone for ElapsedUnit
impl Clone for ElapsedUnit
impl Copy for ElapsedUnit
Source§impl Debug for ElapsedUnit
impl Debug for ElapsedUnit
impl Eq for ElapsedUnit
Source§impl PartialEq for ElapsedUnit
impl PartialEq for ElapsedUnit
impl StructuralPartialEq for ElapsedUnit
Auto Trait Implementations§
impl Forget for ElapsedUnit
impl Freeze for ElapsedUnit
impl Move for ElapsedUnit
impl RefUnwindSafe for ElapsedUnit
impl Send for ElapsedUnit
impl Sync for ElapsedUnit
impl Unpin for ElapsedUnit
impl UnsafeUnpin for ElapsedUnit
impl UnwindSafe for ElapsedUnit
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.