pub struct TimingGuard { /* private fields */ }Expand description
A guard that automatically records timing when dropped. Useful for measuring the total duration of a scope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimingGuard
impl RefUnwindSafe for TimingGuard
impl Send for TimingGuard
impl Sync for TimingGuard
impl Unpin for TimingGuard
impl UnsafeUnpin for TimingGuard
impl UnwindSafe for TimingGuard
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