Expand description
Shuttle’s implementation of the rand
crate, v0.8.
Shuttle captures and controls the nondeterminism introduced by randomness and allows it to be replayed deterministically.
Modules§
- Random number generators and adapters
Traits§
- An automatically-implemented extension trait on
RngCore
providing high-level generic methods for sampling values and other convenience methods. - The core of a random number generator.
Functions§
- Retrieve the thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g.
thread_rng().gen::<i32>()
, or cached locally, e.g.let mut rng = thread_rng();
.