pub struct ScopedTimer { /* private fields */ }Expand description
A simple timer that records elapsed time from its creation until it’s dropped.
If the enable_summary feature is active, it prints the elapsed time
when dropped.
Implementations§
Source§impl ScopedTimer
impl ScopedTimer
Trait Implementations§
Source§impl Debug for ScopedTimer
impl Debug for ScopedTimer
Auto Trait Implementations§
impl Freeze for ScopedTimer
impl RefUnwindSafe for ScopedTimer
impl Send for ScopedTimer
impl Sync for ScopedTimer
impl Unpin for ScopedTimer
impl UnwindSafe for ScopedTimer
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