pub fn random<X: SampleUniform + Bounded>() -> XExpand 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>() -> XGenerate a random value in the range of the output type with a new lazily-initialized thread-local random number generator.