Struct humantime::FormattedDuration
source · pub struct FormattedDuration(/* private fields */);
Expand description
A wrapper type that allows you to Display a Duration
Implementations§
Trait Implementations§
source§impl Clone for FormattedDuration
impl Clone for FormattedDuration
source§fn clone(&self) -> FormattedDuration
fn clone(&self) -> FormattedDuration
Returns a copy 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 moresource§impl Debug for FormattedDuration
impl Debug for FormattedDuration
Auto Trait Implementations§
impl RefUnwindSafe for FormattedDuration
impl Send for FormattedDuration
impl Sync for FormattedDuration
impl Unpin for FormattedDuration
impl UnwindSafe for FormattedDuration
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