Enum chrono_humanize::Accuracy
[−]
[src]
pub enum Accuracy { Rough, Precise, }
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
Methods
impl Accuracy
[src]
fn is_precise(&self) -> bool
[src]
Returns whether this accuracy is precise
fn is_rough(&self) -> bool
[src]
Returns whether this accuracy is rough
Trait Implementations
impl Clone for Accuracy
[src]
fn clone(&self) -> Accuracy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Accuracy
[src]
impl Debug for Accuracy
[src]
impl PartialEq for Accuracy
[src]
fn eq(&self, __arg_0: &Accuracy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.