Crate alea[][src]

Structs

Random number generator.

Functions

Generate a random bool value.

Generate a random f32 value in the range [0, 1).

Generate a random f32 value in the range [min, max] (i.e., both endpoints are included).

Generate a random f32 value in the range [0, max).

Generate a random f64 value in the range [0, 1).

Generate a random f64 value in the range [min, max] (i.e., both endpoints are included).

Generate a random f64 value in the range [0, max).

Get the seed for the random number generator.

Generate a random i32 value.

Generate a random i32 value in the range [min, max] (i.e., both endpoints are included).

Generate a random i32 value less than max.

Generate a random i64 value.

Generate a random i64 value in the range [min, max] (i.e., both endpoints are included).

Generate a random i64 value less than max.

Set the seed for the random number generator.

Generate a random u32 value.

Generate a random u32 value in the range [min, max] (i.e., both endpoints are included).

Generate a random u32 value less than max.

Generate a random u64 value.

Generate a random u64 value in the range [min, max] (i.e., both endpoints are included).

Generate a random u64 value less than max.