Trait tract_hir::prelude::tract_ndarray::MultiSliceArg [−][src]
pub trait MultiSliceArg<'a, A, D> where
A: 'a,
D: Dimension, {
type Output;
fn multi_slice_move(
&self,
view: ArrayBase<ViewRepr<&'a mut A>, D>
) -> Self::Output;
fn __private__(&self) -> PrivateMarker;
}
Expand description
Slicing information describing multiple mutable, disjoint slices.
It’s unfortunate that we need 'a
and A
to be parameters of the trait,
but they’re necessary until Rust supports generic associated types.
Associated Types
Required methods
Split the view into multiple disjoint slices.
Panics if performing any individual slice panics or if the slices are not disjoint (i.e. if they intersect).
fn __private__(&self) -> PrivateMarker
fn __private__(&self) -> PrivateMarker
This trait is private to implement; this method exists to make it impossible to implement outside the crate.