pub struct TestTimer(/* private fields */);
Expand description
TestTimer allows to easily time tests. It’s recommended to use the time_test!() macro instead of invoking this type directly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestTimer
impl RefUnwindSafe for TestTimer
impl Send for TestTimer
impl Sync for TestTimer
impl Unpin for TestTimer
impl UnwindSafe for TestTimer
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