Struct microbench::Measurement
[−]
[src]
pub struct Measurement { pub iterations: u64, pub nanoseconds: u64, }
A measurement of the execution time of a function.
Fields
iterations: u64
The number of times the function was called.
nanoseconds: u64
The number of nanoseconds that elapsed while calling the function.
Methods
impl Measurement
[src]
Trait Implementations
impl Copy for Measurement
[src]
impl Clone for Measurement
[src]
fn clone(&self) -> Measurement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more