Function ezio::random::u8_bound

source ·
pub fn u8_bound(upper_bound: u8) -> u8
Expand description

Generate a random floating point number between 0 and upper_bound from a uniform distribution.

upper_bound is exclusive so will never be returned.

Implemented using the rand crate, see their docs for more information.