Trait std::rand::Rand [] [src]

pub trait Rand {
    fn rand<R>(rng: &mut R) -> Self where R: Rng;
}
Unstable (rand)

: use rand from crates.io

A type that can be randomly generated using an Rng.

Required Methods

fn rand<R>(rng: &mut R) -> Self where R: Rng

Unstable (rand)

: use rand from crates.io

Generates a random instance of this type using the specified source of randomness.

Implementors