pub fn random<X: SampleUniform + Bounded>() -> X
Expand description
Generate a random value in the range of the output type with a new lazily-initialized thread-local random number generator.
pub fn random<X: SampleUniform + Bounded>() -> X
Generate a random value in the range of the output type with a new lazily-initialized thread-local random number generator.