fastrand

Function 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.