pub fn pick_from_multiple_slices<'a, T>(
    slices: &[&'a [T]],
    weights: &'a [usize]
) -> Option<&'a T>
Expand description

Pick an element from multiple slices randomly by given weights.