🔬This is a nightly-only experimental API. (
random #130703)Expand description
Random value generation.
The Random trait allows generating a random value for a type using a
given RandomSource.
Structs§
- DefaultRandom Source Experimental The default random source.
Traits§
- RandomExperimental A trait for getting a random value for a type.
- RandomSource Experimental A source of randomness.
Functions§
- randomExperimental Generates a random value with the default random source.