pub fn choose_random_subset_with_rng<T, F: FnMut(&T) -> bool, R: Rng>(
is_priority: F,
v: &mut Vec<T>,
rng: &mut R,
min: usize,
)
Expand description
Choose a random subset of min
elements using a specific Random Generator Rng
But always include is_priority
elements.