Module rand::prelude[][src]

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 crate::distributions::Distribution;
pub use crate::rngs::SmallRng;
small_rng
pub use crate::rngs::StdRng;
std_rng
pub use crate::rngs::ThreadRng;
std and std_rng
pub use crate::seq::IteratorRandom;
pub use crate::seq::SliceRandom;
pub use crate::random;
std and std_rng
pub use crate::thread_rng;
std and std_rng
pub use crate::CryptoRng;
pub use crate::Rng;
pub use crate::RngCore;
pub use crate::SeedableRng;