Module index_many::generic[][src]

Expand description

A generic variant of the API, that can be indexed by any type implementing Indices<N>.

The Indices<N> trait allows for more flexibility in its implementors:

  • [usize; N] works like the simple API.
  • PresortedIndices<N> ensures statically that the indices are sorted.
  • UnsortedIndices<N> allows any order for the indices.

Structs

PresortedIndices

This type ensures statically that the indices are sorted and unique.

PresortedIndicesError
UnsortedIndices

This type allows any order for the indices, as long as they are unique.

Traits

Indices

Functions

get_many
get_many_mut
index_many
index_many_mut
index_many_mut_unchecked
index_many_unchecked