Protocol std::random::Rng

protocol Rng<Self> { ... }

Random number generators

Random number generators need to provide next_u32 and next_u64 methods, other methods can be mixed in.

Types implementing Rng should also mix in RngExt.

Example implementation

Required methods

Provided methods