Represents all of the necessary information to perform a slice.
T is typically
Vec<SliceOrIndex>. The type
D is the output dimension after calling
fn new(indices: T) -> Result<SliceInfo<T, D>, ShapeError>[src]
Returns a new
D is not consistent with
Returns the number of dimensions after calling
.slice() (including taking
D is a fixed-size dimension type, then this is equivalent to
D::NDIM.unwrap(). Otherwise, the value is calculated by iterating
over the ranges/indices.
type Target = T
The resulting type after dereferencing.
Dereferences the value.