Struct SimulationSeed
pub struct SimulationSeed { /* private fields */ }Implementations§
§impl SimulationSeed
impl SimulationSeed
pub const fn new(value: usize) -> SimulationSeed
pub const fn value(self) -> usize
pub fn mix(self, salt: usize) -> SimulationSeed
pub fn split(self, count: usize) -> Result<Vec<SimulationSeed>, SeedError>
pub fn to_unit_f64(self) -> f64
Trait Implementations§
§impl Clone for SimulationSeed
impl Clone for SimulationSeed
§fn clone(&self) -> SimulationSeed
fn clone(&self) -> SimulationSeed
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 more§impl Debug for SimulationSeed
impl Debug for SimulationSeed
§impl Hash for SimulationSeed
impl Hash for SimulationSeed
§impl PartialEq for SimulationSeed
impl PartialEq for SimulationSeed
impl Copy for SimulationSeed
impl Eq for SimulationSeed
impl StructuralPartialEq for SimulationSeed
Auto Trait Implementations§
impl Freeze for SimulationSeed
impl RefUnwindSafe for SimulationSeed
impl Send for SimulationSeed
impl Sync for SimulationSeed
impl Unpin for SimulationSeed
impl UnsafeUnpin for SimulationSeed
impl UnwindSafe for SimulationSeed
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