pub trait SeedableRng<const SEED_SIZE: usize, const OUTPUT: usize>: Rng<OUTPUT> {
    fn reseed(&mut self, seed: [u8; SEED_SIZE]);
}
Expand description

A trait that represents an RNG that can be reseeded from arbitrary bytes.

Required methods

Re-seed the RNG with the specified bytes.

Implementors