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