pub fn rand_iter<'a, T: 'static, Generator: Rand>(
rng: &'a mut Generator,
rand: fn(_: &mut Generator) -> T,
) -> impl 'a + Iterator<Item = T>
pub fn rand_iter<'a, T: 'static, Generator: Rand>(
rng: &'a mut Generator,
rand: fn(_: &mut Generator) -> T,
) -> impl 'a + Iterator<Item = T>