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.
  • UnsortedSpecializedIndices<N> allows any order for the indices, but tries to specialize for N <= 3.

Structs

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

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

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

Traits

Functions