Function rand::sample
[−]
[src]
pub fn sample<T, I, R>(rng: &mut R, iterable: I, amount: usize) -> Vec<T> where I: IntoIterator<Item=T>, R: Rng
pub fn sample<T, I, R>(rng: &mut R, iterable: I, amount: usize) -> Vec<T> where I: IntoIterator<Item=T>, R: Rng