fastrand

Function 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.