Crate indices

source ·

Macros§

  • Returns mutable references for the requested indices. Panics if any index is out of bounds or duplicated.
  • Returns mutable references for the requested indices Slightly more efficient than indices! since assumes the requested indices are already ordered smallest to largest. Panics if the requested indicies are not smallest to largest, or if any index is duplicated or out of bounds.
  • Returns mutable references for the requested indices. Returns TryIndicesError if any index is out of bounds or duplicated.
  • Returns mutable references for the requested indices. Slightly more efficient than try_indices! since assumes the requested indices are already ordered smallest to largest. Returns TryOrderedIndicesError if the requested indicies are not smallest to largest, or if any index is duplicated or out of bounds.

Enums§

Functions§

  • Returns mutable references for the requested indices in the provided array. Panics if any index is out of bounds or duplicate indices.
  • Returns mutable references for the requested indices in the provided slice. Panics if any index is out of bounds or duplicate indices.
  • Returns mutable references for the requested indices in the provided slices. Panics if any index is out of bounds or duplicate indices.