pub struct BenchConfig {
pub seeds_per_stratum: u32,
pub seed_base: u64,
}Expand description
Benchmark generation configuration. The frozen release pins
DEFAULT_SEEDS_PER_STRATUM and SEED_BASE; regenerating with the same
values must reproduce the committed manifest bit-for-bit.
Fields§
§seeds_per_stratum: u32Base items per (family, base stratum). Each base item is one question kind — total base items = families × strata × 3 kinds × this count.
seed_base: u64Seed stream base; per-item seeds are SEED_BASE + family * K + ....
Trait 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 (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 BenchConfig
impl Debug for BenchConfig
Source§impl Default for BenchConfig
impl Default for BenchConfig
Source§impl PartialEq for BenchConfig
impl PartialEq for BenchConfig
Source§fn eq(&self, other: &BenchConfig) -> bool
fn eq(&self, other: &BenchConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BenchConfig
impl Eq for BenchConfig
impl StructuralPartialEq for BenchConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.