Function fastrand::choose_multiple

source ยท
pub fn choose_multiple<T: Iterator>(source: T, amount: usize) -> Vec<T::Item>
Available on crate feature std only.
Expand description

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