pub fn i16(range: impl RangeBounds<i16>) -> i16
std
Generates a random i16 in the given range.
i16
Panics if the range is empty.