Searched refs:int_in_range (Results 1 – 3 of 3) sorted by relevance
291 pub fn int_in_range<T>(&mut self, range: ops::RangeInclusive<T>) -> Result<T> in int_in_range() method381 let idx = self.int_in_range(0..=choices.len() - 1)?; in choose()699 let x = u.int_in_range(0..=0).unwrap(); in int_in_range_of_one()
493 u.int_in_range(0..=999_999_999)?, in arbitrary()
83 `Unstructured::{int_in_range, choose, etc..}`.222 * Fixed an over-eager assertion condition in `Unstructured::int_in_range` that