pub fn random_ranged_with_rng<X: SampleUniform + Bounded, R: RangeBounds<X>, T: Rng>(
range: R,
rng: &mut T,
) -> X
Expand description
Generate a random value in a specific range with an existing random number generator.
Panics if the start bound is exclusive.