[][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_iterDeprecated

Randomly sample amount elements from a finite iterator.

sample_sliceDeprecated

Randomly sample exactly amount values from slice.

sample_slice_refDeprecated

Randomly sample exactly amount references from slice.