[−][src]Module rand::seq::index
This is supported on crate feature
alloc
only.Low-level API for sampling indices
Enums
IndexVec | A vector of indices. |
IndexVecIntoIter | Return type of |
IndexVecIter | Return type of |
Functions
sample | Randomly sample exactly |
sample_weighted | Randomly sample exactly |