pub fn random_fill_at_most<X: SampleUniform + Bounded, B: SampleBorrow<X>>(
out: &mut [X],
max_inclusive: B,
)
Expand description
Generate random values in the range [X::min_value()
, max_inclusive
] with a new lazily-initialized thread-local random number generator.