pub trait Random {
    fn random() -> Self;
    fn random_range_max(max: Self) -> Self;
    fn random_range(min: Self, max: Self) -> Self;
}
Expand description

Trait for generating random values

Required Methods

Get a random value.

Get a random value, expanded to another range.

Get a random value, expanded to another range.

Implementations on Foreign Types

Implementors