Trait rand::SeedableRng [] [src]

pub trait SeedableRng<Seed>: Rng {
    fn reseed(&mut self, _: Seed);
    fn from_seed(seed: Seed) -> Self;
}
🔬 This is a nightly-only experimental API. (rand)

use rand from crates.io

A random number generator that can be explicitly seeded to produce the same stream of randomness multiple times.

Required Methods

🔬 This is a nightly-only experimental API. (rand)

use rand from crates.io

Reseed an RNG with the given seed.

🔬 This is a nightly-only experimental API. (rand)

use rand from crates.io

Create a new RNG with the given seed.

Implementors