fastrand

Function u16

Source
pub fn u16(range: impl RangeBounds<u16>) -> u16
Expand description

Generates a random u16 in the given range.

Panics if the range is empty.