Enum chrono_humanize::Accuracy
source · pub enum Accuracy {
Rough,
Precise,
}
Expand description
The accuracy of the representation
Variants§
Rough
Rough approximation, easy to grasp, but not necessarily accurate
Precise
Concise expression, accurate, but not necessarily easy to grasp
Implementations§
Trait Implementations§
source§impl PartialEq<Accuracy> for Accuracy
impl PartialEq<Accuracy> for Accuracy
source§impl PartialOrd<Accuracy> for Accuracy
impl PartialOrd<Accuracy> for Accuracy
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Accuracy
impl StructuralPartialEq for Accuracy
Auto Trait Implementations§
impl RefUnwindSafe for Accuracy
impl Send for Accuracy
impl Sync for Accuracy
impl Unpin for Accuracy
impl UnwindSafe for Accuracy
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