random_number

Function random_at_least

source
pub fn random_at_least<X: SampleUniform + Bounded, B: SampleBorrow<X>>(
    min: B,
) -> X
Expand description

Generate a random value in the range [min, Bounded::max_value()] with a new lazily-initialized thread-local random number generator.