[][src]Module rand::seq

Functions for randomly accessing and sampling sequences.

TODO: module doc

Modules

index

Index sampling

Structs

SliceChooseIter

Iterator over multiple choices, as returned by `SliceRandom::choose_multiple.

Traits

IteratorRandom

Extension trait on iterators, providing random sampling methods.

SliceRandom

Extension trait on slices, providing random mutation and sampling methods.

Functions

sample_iter[
Deprecated
]

Randomly sample amount elements from a finite iterator.

sample_slice[
Deprecated
]

Randomly sample exactly amount values from slice.

sample_slice_ref[
Deprecated
]

Randomly sample exactly amount references from slice.