[][src]Struct xoroshiro128::XorShift1024Rng

pub struct XorShift1024Rng { /* fields omitted */ }

Methods

impl XorShift1024Rng[src]

pub fn from_seed_u64(seed: [u64; 16]) -> Self[src]

Trait Implementations

impl Debug for XorShift1024Rng[src]

impl Copy for XorShift1024Rng[src]

impl Clone for XorShift1024Rng[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl SeedableRng for XorShift1024Rng[src]

Seed a XorShift1024Rng with a given seed.

Panics

XorShift1024Rng is undefined for the seed containing all zeros and will panic if this seed is provided.

type Seed = XorShift1024Seed

Seed type, which is restricted to types mutably-dereferencable as u8 arrays (we recommend [u8; N] for some N). Read more

fn seed_from_u64(state: u64) -> Self[src]

Create a new PRNG using a u64 seed. Read more

fn from_rng<R>(rng: R) -> Result<Self, Error> where
    R: RngCore
[src]

Create a new PRNG seeded from another Rng. Read more

impl RngCore for XorShift1024Rng[src]

Auto Trait Implementations

impl Unpin for XorShift1024Rng

impl Sync for XorShift1024Rng

impl Send for XorShift1024Rng

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]