pub struct TimeDisplay {
pub duration: Duration,
}Fields§
§duration: DurationImplementations§
Source§impl TimeDisplay
impl TimeDisplay
pub fn new(dur: Duration) -> TimeDisplay
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeDisplay
impl RefUnwindSafe for TimeDisplay
impl Send for TimeDisplay
impl Sync for TimeDisplay
impl Unpin for TimeDisplay
impl UnwindSafe for TimeDisplay
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