logo

Module rand::seq::index

source · []
Expand description

Index sampling

Enums

A vector of indices.

Return type of IndexVec::into_iter.

Return type of IndexVec::iter.

Functions

Randomly sample exactly amount distinct indices from 0..length, and return them in random order (fully shuffled).