Module rand::seq::index

source ·
Expand description

Low-level API for sampling indices

Enums§

Functions§

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