pub trait HasRng<Rng>where
    Rng: Rng,
{ fn rng(&mut self) -> &mut Rng; fn swap_rng(&mut self, rng: &mut Rng); }
Expand description

Required Methods

Access RNG

If, for some reason, you want access to the internal random number generator: Here you go

If you need to exchange the internal rng
  • swaps internal random number generator with rng

Implementors