Module random

Module random 

Source

Re-exports§

pub use rng::BaseRng;
pub use rng::Seed;
pub use rng::SeedableRng;

Modules§

prf
prg
rng

Traits§

CryptoRngCore
An extension trait that is automatically implemented for any type implementing RngCore and CryptoRng.
Random
A trait for getting a random value for a type. Will be replaced by the random feature once it is included in std (https://github.com/rust-lang/rust/issues/130703).
RandomNonZero
Generate random non-zero values.
RandomWith
A trait for getting a random value for a type alongside some data.