[][src]Function genevo::random::random_cut_points

pub fn random_cut_points<R>(rng: &mut R, length: usize) -> (usize, usize) where
    R: Rng + Sized

Generates two cut points for a slice of given length using the given Prng. The first of the two returned cut points is always smaller than the second one.