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.