Struct trace_time::PerfTimer
source · [−]pub struct PerfTimer { /* private fields */ }
Expand description
Performance timer with logging. Starts measuring time in the constructor, prints
elapsed time in the destructor or when stop
is called.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PerfTimer
impl Send for PerfTimer
impl Sync for PerfTimer
impl Unpin for PerfTimer
impl UnwindSafe for PerfTimer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more