pub struct RunsConfig {
pub samples: usize,
pub z_limit: f64,
}Expand description
Configuration for a runs test.
Fields§
§samples: usizeNumber of random samples drawn per test run.
z_limit: f64Maximum absolute z-score (|z|) permitted for a passing result.
Implementations§
Trait Implementations§
Source§impl Clone for RunsConfig
impl Clone for RunsConfig
Source§fn clone(&self) -> RunsConfig
fn clone(&self) -> RunsConfig
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 RunsConfig
Source§impl Debug for RunsConfig
impl Debug for RunsConfig
Source§impl Default for RunsConfig
impl Default for RunsConfig
Source§fn default() -> RunsConfig
fn default() -> RunsConfig
Returns the default configuration: 1,000,000 samples, z-limit 3.0.
Source§impl PartialEq for RunsConfig
impl PartialEq for RunsConfig
impl StructuralPartialEq for RunsConfig
Auto Trait Implementations§
impl Freeze for RunsConfig
impl RefUnwindSafe for RunsConfig
impl Send for RunsConfig
impl Sync for RunsConfig
impl Unpin for RunsConfig
impl UnsafeUnpin for RunsConfig
impl UnwindSafe for RunsConfig
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