random_number

Function random_fill_ranged

source
pub fn random_fill_ranged<X: SampleUniform + Bounded, R: RangeBounds<X>>(
    out: &mut [X],
    range: R,
)
Expand description

Generate random values in a specific range with a new lazily-initialized thread-local random number generator.

Panics if the start bound is exclusive.