pub struct SimTime { /* private fields */ }Expand description
FormatTime implementation that writes simulation time reported by a
Clock instead of wall-clock time.
Holds only a Box<dyn Clock> — the formatter does not see the rest of
the layer’s API.
Implementations§
Trait Implementations§
Source§impl FormatTime for SimTime
impl FormatTime for SimTime
Auto Trait Implementations§
impl !RefUnwindSafe for SimTime
impl !UnwindSafe for SimTime
impl Freeze for SimTime
impl Send for SimTime
impl Sync for SimTime
impl Unpin for SimTime
impl UnsafeUnpin for SimTime
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