fastrand

Function i32

source
pub fn i32(range: impl RangeBounds<i32>) -> i32
Expand description

Generates a random i32 in the given range.

Panics if the range is empty.