Struct move_unit_test::test_reporter::TestRunInfo
source · pub struct TestRunInfo {
pub function_ident: String,
pub elapsed_time: Duration,
pub instructions_executed: u64,
}
Fields§
§function_ident: String
§elapsed_time: Duration
§instructions_executed: u64
Implementations§
Trait Implementations§
source§impl Clone for TestRunInfo
impl Clone for TestRunInfo
source§fn clone(&self) -> TestRunInfo
fn clone(&self) -> TestRunInfo
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 TestRunInfo
impl Debug for TestRunInfo
source§impl Ord for TestRunInfo
impl Ord for TestRunInfo
source§fn cmp(&self, other: &TestRunInfo) -> Ordering
fn cmp(&self, other: &TestRunInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TestRunInfo> for TestRunInfo
impl PartialEq<TestRunInfo> for TestRunInfo
source§fn eq(&self, other: &TestRunInfo) -> bool
fn eq(&self, other: &TestRunInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TestRunInfo> for TestRunInfo
impl PartialOrd<TestRunInfo> for TestRunInfo
source§fn partial_cmp(&self, other: &TestRunInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &TestRunInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TestRunInfo
impl StructuralEq for TestRunInfo
impl StructuralPartialEq for TestRunInfo
Auto Trait Implementations§
impl RefUnwindSafe for TestRunInfo
impl Send for TestRunInfo
impl Sync for TestRunInfo
impl Unpin for TestRunInfo
impl UnwindSafe for TestRunInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.