Function fastrand::i16

source ·
pub fn i16(range: impl RangeBounds<i16>) -> i16
Available on crate feature std only.
Expand description

Generates a random i16 in the given range.

Panics if the range is empty.