Trait rand::Rand[][src]

pub trait Rand: Sized {
    fn rand<R: Rng>(rng: &mut R) -> Self;
}
Deprecated since 0.5.0

: replaced by distributions::Standard

A type that can be randomly generated using an Rng.

This is merely an adapter around the Standard distribution for convenience and backwards-compatibility.

Required Methods

Deprecated since 0.5.0

: replaced by distributions::Standard

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

Implementors