Struct rand::reseeding::ReseedWithDefault [−] [src]

pub struct ReseedWithDefault;

Reseed an RNG using a Default instance. This reseeds by replacing the RNG with the result of a Default::default call.

Trait Implementations

impl<R: Rng + Default> Reseeder<R> for ReseedWithDefault

fn reseed(&mut self, rng: &mut R)

impl Default for ReseedWithDefault

fn default() -> ReseedWithDefault

Derived Implementations

impl Copy for ReseedWithDefault

impl Clone for ReseedWithDefault

fn clone(&self) -> ReseedWithDefault

fn clone_from(&mut self, source: &Self)