pub trait HasRand { type Rand: Rand; fn rand(&self) -> &Self::Rand; fn rand_mut(&mut self) -> &mut Self::Rand; }
Trait for elements offering a rand
The associated type implementing Rand
Rand
The rand instance
The rand instance (mutable)