pub struct TestTimer(_, _);
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 RefUnwindSafe for TestTimer
impl Send for TestTimer
impl Sync for TestTimer
impl Unpin for TestTimer
impl UnwindSafe for TestTimer
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