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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.