A type that can slice an array of dimension
This trait is unsafe to implement because the implementation must ensure
consistent with the
&[SliceInfoElem] returned by
self.as_ref() and that
self.as_ref() always returns the same value when called multiple times.
Dimensionality of the output array.
Returns the number of axes in the input array.
Returns the number of axes in the output array.
This trait is private to implement; this method exists to make it impossible to implement outside the crate.