pub struct BenchConfig {
pub samples_per_round: usize,
pub rounds: usize,
pub warmup_rounds: usize,
pub timeout_sec: f64,
pub rank_by: RankBy,
pub include_pool_quality: bool,
pub pool_quality_bytes: usize,
pub conditioning: ConditioningMode,
}Fields§
§samples_per_round: usize§rounds: usize§warmup_rounds: usize§timeout_sec: f64§rank_by: RankBy§include_pool_quality: bool§pool_quality_bytes: usize§conditioning: ConditioningModeTrait Implementations§
Source§impl Clone for BenchConfig
impl Clone for BenchConfig
Source§fn clone(&self) -> BenchConfig
fn clone(&self) -> BenchConfig
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 BenchConfig
impl Debug for BenchConfig
Source§impl Default for BenchConfig
impl Default for BenchConfig
Source§impl<'de> Deserialize<'de> for BenchConfig
impl<'de> Deserialize<'de> for BenchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BenchConfig
impl RefUnwindSafe for BenchConfig
impl Send for BenchConfig
impl Sync for BenchConfig
impl Unpin for BenchConfig
impl UnsafeUnpin for BenchConfig
impl UnwindSafe for BenchConfig
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