logo
Expand description

Convenience re-export of common members

Like the standard library’s prelude, this module simplifies importing of common items. Unlike the standard prelude, the contents of this module must be imported manually:

use rand::prelude::*;

Re-exports

pub use distributions::Distribution;
pub use rngs::SmallRng;
pub use rngs::StdRng;
pub use rngs::ThreadRng;
pub use Rng;
pub use RngCore;
pub use CryptoRng;
pub use SeedableRng;
pub use FromEntropy;
pub use random;
pub use thread_rng;
pub use seq::SliceRandom;
pub use seq::IteratorRandom;