pub struct Xorshift64 { /* private fields */ }Expand description
A fast, seedable Xorshift64 RNG
Not cryptographically secure - suitable for simulation only. Produces a full cycle of 2^64-1 values before repeating
Implementations§
Trait Implementations§
Source§impl Clone for Xorshift64
impl Clone for Xorshift64
Source§fn clone(&self) -> Xorshift64
fn clone(&self) -> Xorshift64
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 moreSource§impl Debug for Xorshift64
impl Debug for Xorshift64
Source§impl Rng for Xorshift64
impl Rng for Xorshift64
Auto Trait Implementations§
impl Freeze for Xorshift64
impl RefUnwindSafe for Xorshift64
impl Send for Xorshift64
impl Sync for Xorshift64
impl Unpin for Xorshift64
impl UnsafeUnpin for Xorshift64
impl UnwindSafe for Xorshift64
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