rustmax::rand

Module prelude

Source
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::*;

Structs§

  • A strong, fast (amortized), non-portable RNG
  • A reference to the thread-local generator

Traits§

  • A marker trait used to indicate that an RngCore implementation is supposed to be cryptographically secure.
  • Types (distributions) that can be used to create a random instance of T.
  • Extension trait on indexable lists, providing random sampling methods.
  • Extension trait on indexable lists, providing random sampling methods.
  • Extension trait on iterators, providing random sampling methods.
  • User-level interface for RNGs
  • Implementation-level interface for RNGs
  • A random number generator that can be explicitly seeded.
  • Extension trait on slices, providing shuffling methods.