pub struct TestExecTime(pub Duration);
๐ฌThis is a nightly-only experimental API. (
test
)Expand description
The measured execution time of a unit test.
Tuple Fieldsยง
ยง0: Duration
๐ฌThis is a nightly-only experimental API. (
test
)Trait Implementationsยง
Sourceยงimpl Clone for TestExecTime
impl Clone for TestExecTime
Sourceยงfn clone(&self) -> TestExecTime
fn clone(&self) -> TestExecTime
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for TestExecTime
impl Debug for TestExecTime
Sourceยงimpl Display for TestExecTime
impl Display for TestExecTime
Sourceยงimpl PartialEq for TestExecTime
impl PartialEq for TestExecTime
impl StructuralPartialEq for TestExecTime
Auto Trait Implementationsยง
impl Freeze for TestExecTime
impl RefUnwindSafe for TestExecTime
impl Send for TestExecTime
impl Sync for TestExecTime
impl Unpin for TestExecTime
impl UnwindSafe for TestExecTime
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