pub struct BenchSampling { /* private fields */ }Expand description
How many samples one case is measured over, and how long one sample may spend on rounds.
A sample is one call of a case’s routine, running the rounds that fit Self::spend, or the
fewest the interpreter can run where no spend is stated.
Implementations§
Trait Implementations§
Source§impl Clone for BenchSampling
impl Clone for BenchSampling
Source§fn clone(&self) -> BenchSampling
fn clone(&self) -> BenchSampling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BenchSampling
Source§impl Debug for BenchSampling
impl Debug for BenchSampling
impl Eq for BenchSampling
Source§impl From<usize> for BenchSampling
impl From<usize> for BenchSampling
Source§impl Hash for BenchSampling
impl Hash for BenchSampling
Source§impl Ord for BenchSampling
impl Ord for BenchSampling
Source§fn cmp(&self, other: &BenchSampling) -> Ordering
fn cmp(&self, other: &BenchSampling) -> Ordering
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 PartialEq for BenchSampling
impl PartialEq for BenchSampling
Source§impl PartialOrd for BenchSampling
impl PartialOrd for BenchSampling
impl StructuralPartialEq for BenchSampling
Auto Trait Implementations§
impl Freeze for BenchSampling
impl RefUnwindSafe for BenchSampling
impl Send for BenchSampling
impl Sync for BenchSampling
impl Unpin for BenchSampling
impl UnsafeUnpin for BenchSampling
impl UnwindSafe for BenchSampling
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