pub struct BenchCase { /* private fields */ }Expand description
Names one measured case: the group it is read within, and the subject it measures.
A group holds the cases a run compares, such as one operation under one load. A subject is what is measured under it, such as one provider.
Implementations§
Trait Implementations§
impl Copy for BenchCase
impl Eq for BenchCase
Source§impl Ord for BenchCase
impl Ord for BenchCase
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for BenchCase
impl PartialOrd for BenchCase
impl StructuralPartialEq for BenchCase
Auto Trait Implementations§
impl Freeze for BenchCase
impl RefUnwindSafe for BenchCase
impl Send for BenchCase
impl Sync for BenchCase
impl Unpin for BenchCase
impl UnsafeUnpin for BenchCase
impl UnwindSafe for BenchCase
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