[][src]Struct nanorand::rand::pcg64::Pcg64

pub struct Pcg64 { /* fields omitted */ }

An instance of the Pcg64 random number generator.
Seeded from the system entropy generator when available.
This generator is NOT cryptographically secure.

Implementations

impl Pcg64[src]

pub fn new() -> Self[src]

Create a new Pcg64 instance, seeding from the system's default source of entropy.

pub fn new_seed(seed: u128) -> Self[src]

Create a new Pcg64 instance, using a provided seed.

Trait Implementations

impl Clone for Pcg64[src]

impl Default for Pcg64[src]

fn default() -> Self[src]

Create a new Pcg64 instance, seeding from the system's default source of entropy.

impl Display for Pcg64[src]

impl RNG for Pcg64[src]

type Output = [u8; 8]

The byte output that this RNG emits.

impl Zeroize for Pcg64[src]

Auto Trait Implementations

impl RefUnwindSafe for Pcg64

impl Send for Pcg64

impl Sync for Pcg64

impl Unpin for Pcg64

impl UnwindSafe for Pcg64

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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> 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<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]