pub fn random_with_rng<X: SampleUniform + Bounded, T: Rng>(rng: &mut T) -> X
Expand description
Generate a random value in the range of the output type with an existing random number generator.
pub fn random_with_rng<X: SampleUniform + Bounded, T: Rng>(rng: &mut T) -> X
Generate a random value in the range of the output type with an existing random number generator.