pub struct FormattedReltime(/* private fields */);Expand description
A formatted time duration
This type represents a time duration which has been decomposed into the sum of 2 components of
distinct units. The only intended purpose of this type is to be rendered via Display. Values
of this type are created by Reltime::format.
This type is similar to Reltime but differs from it in that the specific decomposition of
the duration into unit components is already determined in values of this type, but values of
Reltime have not yet been decomposed.
Trait Implementations§
Source§impl Clone for FormattedReltime
impl Clone for FormattedReltime
Source§fn clone(&self) -> FormattedReltime
fn clone(&self) -> FormattedReltime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormattedReltime
Source§impl Debug for FormattedReltime
impl Debug for FormattedReltime
Auto Trait Implementations§
impl Freeze for FormattedReltime
impl RefUnwindSafe for FormattedReltime
impl Send for FormattedReltime
impl Sync for FormattedReltime
impl Unpin for FormattedReltime
impl UnsafeUnpin for FormattedReltime
impl UnwindSafe for FormattedReltime
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