Struct libtest_mimic::Measurement
source · [−]Expand description
Output of a benchmark.
Fields
avg: u64
Average time in ns.
variance: u64
Variance in ns.
Trait Implementations
sourceimpl Clone for Measurement
impl Clone for Measurement
sourcefn clone(&self) -> Measurement
fn clone(&self) -> Measurement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Measurement
impl Debug for Measurement
sourceimpl PartialEq<Measurement> for Measurement
impl PartialEq<Measurement> for Measurement
sourcefn eq(&self, other: &Measurement) -> bool
fn eq(&self, other: &Measurement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Measurement) -> bool
fn ne(&self, other: &Measurement) -> bool
This method tests for !=
.
impl Copy for Measurement
impl Eq for Measurement
impl StructuralEq for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnwindSafe for Measurement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.