random_number

Function random_fill_ranged_with_rng

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

Generate random values in a specific range with an existing random number generator.

Panics if the start bound is exclusive.