pub struct RandomWalkConfig {
pub start: f64,
pub step_size: f64,
pub steps: usize,
pub seed: SimulationSeed,
}Fields§
§start: f64§step_size: f64§steps: usize§seed: SimulationSeedTrait Implementations§
Source§impl Clone for RandomWalkConfig
impl Clone for RandomWalkConfig
Source§fn clone(&self) -> RandomWalkConfig
fn clone(&self) -> RandomWalkConfig
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 RandomWalkConfig
impl Debug for RandomWalkConfig
Source§impl PartialEq for RandomWalkConfig
impl PartialEq for RandomWalkConfig
Source§fn eq(&self, other: &RandomWalkConfig) -> bool
fn eq(&self, other: &RandomWalkConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RandomWalkConfig
impl StructuralPartialEq for RandomWalkConfig
Auto Trait Implementations§
impl Freeze for RandomWalkConfig
impl RefUnwindSafe for RandomWalkConfig
impl Send for RandomWalkConfig
impl Sync for RandomWalkConfig
impl Unpin for RandomWalkConfig
impl UnsafeUnpin for RandomWalkConfig
impl UnwindSafe for RandomWalkConfig
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