pub fn random_n_cut_points<R>(
    rng: &mut R,
    n: usize,
    length: usize
) -> Vec<usize> where
    R: Rng + Sized
Expand description

Generates n cut points for a slice of given length using the given Prng. The returned cut points are ordered in ascending order.