[][src]Function binjs::generic::util::pick

pub fn pick<T, U>(rng: &mut T, slice: &'a [U]) -> &'a U where
    T: Rng

Return a random item from a slice.