fastrand

Function choose_multiple

source
pub fn choose_multiple<T: Iterator>(source: T, amount: usize) -> Vec<T::Item>
Expand description

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