pub trait HasRand {
    type Rand: Rand;

    fn rand(&self) -> &Self::Rand;
    fn rand_mut(&mut self) -> &mut Self::Rand;
}
Expand description

Trait for elements offering a rand

Required Associated Types

The associated type implementing Rand

Required Methods

The rand instance

The rand instance (mutable)

Implementors