pub trait Gen: Rng {
// Required method
fn size(&self) -> usize;
}Expand description
Gen wraps a rand::Rng with parameters to control the distribution of
random values.
A value with type satisfying the Gen trait can be constructed with the
gen function in this crate.