Function fastrand::global_rng::usize

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

Generates a random usize in the given range.

Panics if the range is empty.