cap_rand

Module rngs

Source
Expand description

Random number generators and adapters.

This corresponds to rand::rngs.

Modules§

  • Wrappers / adapters forming RNGs
  • Mock random number generator

Structs§

  • The type returned by thread_rng, essentially just a reference to a PRNG in memory.
  • A random number generator that retrieves randomness from the operating system.
  • 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).