fastrand

Function u32

Source
pub fn u32(range: impl RangeBounds<u32>) -> u32
Expand description

Generates a random u32 in the given range.

Panics if the range is empty.