pub fn random_inclusively_cmp<X: SampleUniform + Ord + Clone, B: SampleBorrow<X>>(
a: B,
b: B,
) -> X
Expand description
Generate a random value in the range [a
, b
] or [b
, a
] with a new lazily-initialized thread-local random number generator.
Panics if a and b can not be compared.