pub fn random_inclusively<X: SampleUniform, B1: SampleBorrow<X>, B2: SampleBorrow<X>>(
min: B1,
max_inclusive: B2,
) -> X
Expand description
Generate a random value in the range [min
, max_inclusive
] with a new lazily-initialized thread-local random number generator.
Panics if min > max_inclusive
.