pub struct Mwc128XXA32 { /* private fields */ }Expand description
A PCG random number generator (MWC X A 128/32 variant).
Permuted Congruential Generator with 128-bit state, internal multiply with carry Generator, and 32-bit output via a xor and an add.
Implementations§
Trait Implementations§
Source§impl Clone for Mwc128XXA32
impl Clone for Mwc128XXA32
Source§fn clone(&self) -> Mwc128XXA32
fn clone(&self) -> Mwc128XXA32
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 PartialEq for Mwc128XXA32
impl PartialEq for Mwc128XXA32
Source§impl RngCore for Mwc128XXA32
impl RngCore for Mwc128XXA32
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 Mwc128XXA32
We use a single 121-bit seed to initialise the state and select a stream.
Of the 128 seed bits 7 are ignored.
impl SeedableRng for Mwc128XXA32
We use a single 121-bit seed to initialise the state and select a stream.
Of the 128 seed bits 7 are ignored.
impl Eq for Mwc128XXA32
impl StructuralPartialEq for Mwc128XXA32
Auto Trait Implementations§
impl Freeze for Mwc128XXA32
impl RefUnwindSafe for Mwc128XXA32
impl Send for Mwc128XXA32
impl Sync for Mwc128XXA32
impl Unpin for Mwc128XXA32
impl UnwindSafe for Mwc128XXA32
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