pub struct BenchStatistics {
pub mean_ns: Option<f64>,
pub median_ns: Option<f64>,
pub slope_ns: Option<f64>,
pub mad_ns: Option<f64>,
pub unit: String,
}Expand description
Benchmark statistics from criterion output
Fields§
§mean_ns: Option<f64>§median_ns: Option<f64>§slope_ns: Option<f64>§mad_ns: Option<f64>§unit: StringTrait Implementations§
Source§impl Clone for BenchStatistics
impl Clone for BenchStatistics
Source§fn clone(&self) -> BenchStatistics
fn clone(&self) -> BenchStatistics
Returns a duplicate 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 BenchStatistics
impl Debug for BenchStatistics
Source§impl PartialEq for BenchStatistics
impl PartialEq for BenchStatistics
impl StructuralPartialEq for BenchStatistics
Auto Trait Implementations§
impl Freeze for BenchStatistics
impl RefUnwindSafe for BenchStatistics
impl Send for BenchStatistics
impl Sync for BenchStatistics
impl Unpin for BenchStatistics
impl UnwindSafe for BenchStatistics
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
Source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
Source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
Source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
Source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more