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