pub struct Mwc256XXA64 { /* private fields */ }Expand description
A PCG random number generator (MWC X A 256/64 variant).
Permuted Congruential Generator with 256-bit state, internal multiply with carry Generator, and 64-bit output via a xor and an add.
Implementations§
Trait Implementations§
Source§impl Clone for Mwc256XXA64
impl Clone for Mwc256XXA64
Source§fn clone(&self) -> Mwc256XXA64
fn clone(&self) -> Mwc256XXA64
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 Mwc256XXA64
impl Debug for Mwc256XXA64
Source§impl PartialEq for Mwc256XXA64
impl PartialEq for Mwc256XXA64
Source§impl RngCore for Mwc256XXA64
impl RngCore for Mwc256XXA64
Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest with random data. Read moreSource§impl SeedableRng for Mwc256XXA64
We use a single 249-bit seed to initialise the state and select a stream.
One seed bit (lowest bit of seed[8]) is ignored.
impl SeedableRng for Mwc256XXA64
We use a single 249-bit seed to initialise the state and select a stream.
One seed bit (lowest bit of seed[8]) is ignored.
impl Eq for Mwc256XXA64
impl StructuralPartialEq for Mwc256XXA64
Auto Trait Implementations§
impl Freeze for Mwc256XXA64
impl RefUnwindSafe for Mwc256XXA64
impl Send for Mwc256XXA64
impl Sync for Mwc256XXA64
impl Unpin for Mwc256XXA64
impl UnwindSafe for Mwc256XXA64
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