pub struct TimeLapse { /* private fields */ }Expand description
The TimeLapse struct is used to measure elapsed time in Rust applications.
It provides methods to start, reset, and log the elapsed time.
It can be used to profile code execution and is useful for performance analysis.
It implements the Display and Debug traits for easy formatting and logging.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeLapse
impl RefUnwindSafe for TimeLapse
impl Send for TimeLapse
impl Sync for TimeLapse
impl Unpin for TimeLapse
impl UnwindSafe for TimeLapse
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