pub fn random_fill_at_most_with_rng<X: SampleUniform + Bounded, B: SampleBorrow<X>, T: Rng>(
out: &mut [X],
max_inclusive: B,
rng: &mut T,
)
Expand description
Generate random values in the range [X::min_value()
, max_inclusive
] with an existing random number generator.