rand::seq

Function gen_index

Source
fn gen_index<R: Rng + ?Sized>(rng: &mut R, ubound: usize) -> usize