Struct chacha20::ChaCha8RngCore[][src]

pub struct ChaCha8RngCore { /* fields omitted */ }
This is supported on crate feature rng only.
Expand description

Core random number generator, for use with rand_core::block::BlockRng

Trait Implementations

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.

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.