core

Module random

source
🔬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.

Traits§

  • RandomExperimental
    A trait for getting a random value for a type.
  • RandomSourceExperimental
    A source of randomness.