Module prelude

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::*;
# let mut r: StdRng = rand::make_rng();
# let _: f32 = r.random();

Structs

Traits