Struct test::test::TestExecTime
source · pub struct TestExecTime(pub Duration);
🔬This is a nightly-only experimental API. (
test
)Expand description
单元测试的测量执行时间。
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
返回值的副本。 Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source
执行复制分配。 Read moresource§impl Debug for TestExecTime
impl Debug for TestExecTime
source§impl Display for TestExecTime
impl Display for TestExecTime
source§impl PartialEq<TestExecTime> for TestExecTime
impl PartialEq<TestExecTime> for TestExecTime
impl StructuralPartialEq for TestExecTime
Auto Trait Implementations§
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
从拥有的值中借用。 Read more