pub fn gen_ratio_rng<R: Rng>(a: usize, b: usize, rng: &mut R) -> bool
Expand description

Returns a bool with a probability of a / b of being true.