Function randomize::in_range
[−]
[src]
pub fn in_range<R: Borrow<Range<usize>>>(r: R) -> Option<usize>
Returns a value out of the Range
specified using the global RNG.
You get a None
back if the range specified is empty.