pub struct InputStormConfig {
pub pattern: BurstPattern,
pub seed: u64,
}Expand description
Configuration for an input storm.
Fields§
§pattern: BurstPatternThe burst pattern to generate.
seed: u64Random seed for deterministic generation.
Implementations§
Source§impl InputStormConfig
impl InputStormConfig
Sourcepub fn new(pattern: BurstPattern, seed: u64) -> Self
pub fn new(pattern: BurstPattern, seed: u64) -> Self
Create a new config with the given pattern and seed.
Trait Implementations§
Source§impl Clone for InputStormConfig
impl Clone for InputStormConfig
Source§fn clone(&self) -> InputStormConfig
fn clone(&self) -> InputStormConfig
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 moreAuto Trait Implementations§
impl Freeze for InputStormConfig
impl RefUnwindSafe for InputStormConfig
impl Send for InputStormConfig
impl Sync for InputStormConfig
impl Unpin for InputStormConfig
impl UnsafeUnpin for InputStormConfig
impl UnwindSafe for InputStormConfig
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