🔬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§
- Default
Random Source Experimental - The default random source.
Traits§
- Random
Experimental - A trait for getting a random value for a type.
- Random
Source Experimental - A source of randomness.
Functions§
- random
Experimental - Generates a random value with the default random source.