Enum humanize_duration::Truncate
source · pub enum Truncate {
Nano,
Micro,
Millis,
Second,
Minute,
Hour,
Day,
Month,
Year,
}Variants§
Trait Implementations§
source§impl PartialEq for Truncate
impl PartialEq for Truncate
source§impl PartialOrd for Truncate
impl PartialOrd for Truncate
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 Truncate
impl StructuralPartialEq for Truncate
Auto Trait Implementations§
impl RefUnwindSafe for Truncate
impl Send for Truncate
impl Sync for Truncate
impl Unpin for Truncate
impl UnwindSafe for Truncate
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