Module indexing
Expand description
The indexing module. A module for indexing utility machinery.
Traits§
- AsIndex
- Helper trait for implementing indexing with support for negative indices.
Functions§
- canonicalize_
dim - Canonicalizes and bounds checks a dimension index with negative indexing support.
- canonicalize_
index - Canonicalizes and bounds checks an index with negative indexing support.
- wrap_
index - Wraps a dimension index to be within the bounds of the dimension size.