Function fastrand::global_rng::choose_multiple

source ยท
pub fn choose_multiple<I: IntoIterator>(
    source: I,
    amount: usize,
) -> Vec<I::Item>
Expand description

Collects amount values at random from the iterable into a vector.