fastrand

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