Struct ndarray::SliceInfo [−][src]
Expand description
Represents all of the necessary information to perform a slice.
The type T
is typically [SliceOrIndex; n]
, [SliceOrIndex]
, or
Vec<SliceOrIndex>
. The type D
is the output dimension after calling
.slice()
.
Implementations
Returns a new SliceInfo
instance.
Errors if D
is not consistent with indices
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T: ?Sized, D> RefUnwindSafe for SliceInfo<T, D> where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized, D> UnwindSafe for SliceInfo<T, D> where
D: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more