Protocol std::random::Distribution

protocol Distribution<Self, T, R> { ... }
R: Rng<R>

Probability distributions

Objects implementing Distribution can be used to sample random values using an arbitrary random number generator implementing Rng.

Distributions should be cheap to clone and should not store any state. The state should be stored in the random number generator.

Required methods

Provided methods