Function fastrand::global_rng::i16

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

Generates a random i16 in the given range.

Panics if the range is empty.