Trait af_core::random::Random[][src]

pub trait Random: Sized {
    fn random_with(rng: &mut Rng) -> Self;

    fn random() -> Self { ... }
}

A trait for types that can be created randomly.

Required methods

fn random_with(rng: &mut Rng) -> Self[src]

Returns a random value using the given Rng.

Loading content...

Provided methods

fn random() -> Self[src]

Returns a random value.

Loading content...

Implementors

impl Random for Uuid[src]

impl<T> Random for T where
    Standard: Distribution<T>, 
[src]

Loading content...