pub fn random_at_least_with_rng<X: SampleUniform + Bounded, B: SampleBorrow<X>, T: Rng>(
min: B,
rng: &mut T,
) -> X
Expand description
Generate a random value in the range [min
, X::max_value()
] with an existing random number generator.
pub fn random_at_least_with_rng<X: SampleUniform + Bounded, B: SampleBorrow<X>, T: Rng>(
min: B,
rng: &mut T,
) -> X
Generate a random value in the range [min
, X::max_value()
] with an existing random number generator.