Function fastrand::global_rng::u8

source ยท
pub fn u8(range: impl RangeBounds<u8>) -> u8
Expand description

Generates a random u8 in the given range.

Panics if the range is empty.