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

Associated Types

The associated type implementing Rand

Required methods

The rand instance

The rand instance (mut)

Implementors