pub struct Counter<'a> { /* private fields */ }
Available on crate feature
console
only.Expand description
A console time measurement.
Dropping this will reset the counter to 0.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Counter<'a>
impl<'a> Send for Counter<'a>
impl<'a> Sync for Counter<'a>
impl<'a> Unpin for Counter<'a>
impl<'a> UnwindSafe for Counter<'a>
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