pub struct CausalRng { /* private fields */ }Expand description
Deterministic SplitMix64-based RNG for library algorithms.
Implementations§
Source§impl CausalRng
impl CausalRng
Sourcepub const fn from_state(state: u64) -> Self
pub const fn from_state(state: u64) -> Self
Restore from a previously exported Self::state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CausalRng
impl RefUnwindSafe for CausalRng
impl Send for CausalRng
impl Sync for CausalRng
impl Unpin for CausalRng
impl UnsafeUnpin for CausalRng
impl UnwindSafe for CausalRng
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