pub struct BenchmarkOptions {
pub warmup: u32,
pub iterations: u32,
pub args: Vec<String>,
}Expand description
Options controlling how benchmarks are executed.
Fields§
§warmup: u32Number of warm-up iterations (not recorded).
iterations: u32Number of measured iterations.
args: Vec<String>Arguments to pass to the executable.
Trait Implementations§
Source§impl Clone for BenchmarkOptions
impl Clone for BenchmarkOptions
Source§fn clone(&self) -> BenchmarkOptions
fn clone(&self) -> BenchmarkOptions
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 moreSource§impl Debug for BenchmarkOptions
impl Debug for BenchmarkOptions
Auto Trait Implementations§
impl Freeze for BenchmarkOptions
impl RefUnwindSafe for BenchmarkOptions
impl Send for BenchmarkOptions
impl Sync for BenchmarkOptions
impl Unpin for BenchmarkOptions
impl UnsafeUnpin for BenchmarkOptions
impl UnwindSafe for BenchmarkOptions
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