pub trait NpyIndex: IntoDimension + Sealed { }
Expand description
Trait implemented by types that can be used to index an array.
This is equivalent to ndarray::NdIndex
but accounts for
NumPy strides being in units of bytes instead of elements.
All types which implement IntoDimension
implement this trait as well.
This includes at least