pub struct XorShift64 {
pub state: u64,
}Expand description
Simple deterministic zero-allocation 64-bit XorShift Pseudo-Random Number Generator.
Fields§
§state: u64Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XorShift64
Source§impl Debug for XorShift64
impl Debug for XorShift64
impl Eq for XorShift64
Source§impl PartialEq for XorShift64
impl PartialEq for XorShift64
impl StructuralPartialEq 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