Struct rand::prng::chacha::ChaChaCore[][src]

pub struct ChaChaCore { /* fields omitted */ }

The core of ChaChaRng, used with BlockRng.

Trait Implementations

impl Clone for ChaChaCore
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ChaChaCore
[src]

Formats the value using the given formatter. Read more

impl BlockRngCore for ChaChaCore
[src]

Results element type, e.g. u32.

Results type. This is the 'block' an RNG implementing BlockRngCore generates, which will usually be an array like [u32; 16]. Read more

Generate a new block of results.

impl SeedableRng for ChaChaCore
[src]

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

Create a new PRNG using the given seed. Read more

Create a new PRNG using a u64 seed. Read more

Create a new PRNG seeded from another Rng. Read more

impl CryptoRng for ChaChaCore
[src]

impl From<ChaChaCore> for ChaChaRng
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ChaChaCore

impl Sync for ChaChaCore