pub trait RandomGen<Generator: Rng<OUTPUT>, const OUTPUT: usize> {
fn random(rng: &mut Generator) -> Self;
}
Expand description
A trait used for generating a random object with an RNG,
pub trait RandomGen<Generator: Rng<OUTPUT>, const OUTPUT: usize> {
fn random(rng: &mut Generator) -> Self;
}
A trait used for generating a random object with an RNG,