pub struct ScopedTimer { /* private fields */ }Expand description
A utility struct to time a section of code using RAII
Implementations§
Trait Implementations§
Source§impl Drop for ScopedTimer
impl Drop 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 UnsafeUnpin 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