pub trait SeedableRng<const SEED_SIZE: usize, const OUTPUT: usize>: Rng<OUTPUT> {
// Required method
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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.