Function fastrand::char

source · []
pub fn char(range: impl RangeBounds<char>) -> char
Expand description

Generates a random char in the given range.

Panics if the range is empty.