Struct pcg_mwc::Mwc256XXA64 [−][src]
pub struct Mwc256XXA64 { /* fields omitted */ }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
impl Clone for Mwc256XXA64[src]
impl Clone for Mwc256XXA64[src]fn clone(&self) -> Mwc256XXA64[src]
fn clone(&self) -> Mwc256XXA64[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for Mwc256XXA64[src]
impl Debug for Mwc256XXA64[src]impl PartialEq<Mwc256XXA64> for Mwc256XXA64[src]
impl PartialEq<Mwc256XXA64> for Mwc256XXA64[src]fn eq(&self, other: &Mwc256XXA64) -> bool[src]
fn eq(&self, other: &Mwc256XXA64) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &Mwc256XXA64) -> bool[src]
fn ne(&self, other: &Mwc256XXA64) -> bool[src]This method tests for !=.
impl RngCore for Mwc256XXA64[src]
impl RngCore for Mwc256XXA64[src]impl SeedableRng for Mwc256XXA64[src]
impl SeedableRng for Mwc256XXA64[src]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[src]
impl StructuralEq for Mwc256XXA64[src]
impl StructuralPartialEq for Mwc256XXA64[src]
Auto Trait Implementations
impl RefUnwindSafe for Mwc256XXA64
impl Send for Mwc256XXA64
impl Sync for Mwc256XXA64
impl Unpin for Mwc256XXA64
impl UnwindSafe for Mwc256XXA64
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more