Function fastrand::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.