[][src]Module cap_rand::rngs

Random number generators and adapters.

This corresponds to rand::rngs.

Modules

adapter

Wrappers / adapters forming RNGs

mock

Mock random number generator

Structs

CapRng

The type returned by thread_rng, essentially just a reference to a PRNG in memory.

OsRng

A random number generator that retrieves randomness from from the operating system.

StdRng

The standard RNG. The PRNG algorithm in StdRng is chosen to be efficient on the current platform, to be statistically strong and unpredictable (meaning a cryptographically secure PRNG).