Trait ndarray::MultiSliceArg [−][src]
pub trait MultiSliceArg<'a, A, D> where
A: 'a,
D: Dimension, { type Output; fn multi_slice_move(&self, view: ArrayViewMut<'a, 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
fn multi_slice_move(&self, view: ArrayViewMut<'a, A, D>) -> Self::Output
[src]
fn multi_slice_move(&self, view: ArrayViewMut<'a, A, D>) -> Self::Output
[src]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
[src]
fn __private__(&self) -> PrivateMarker
[src]This trait is private to implement; this method exists to make it impossible to implement outside the crate.
Implementations on Foreign Types
type Output = (ArrayViewMut<'a, A, I0::OutDim>,)
type Output = (ArrayViewMut<'a, A, I0::OutDim>, ArrayViewMut<'a, A, I1::OutDim>)
type Output = (ArrayViewMut<'a, A, I0::OutDim>, ArrayViewMut<'a, A, I1::OutDim>, ArrayViewMut<'a, A, I2::OutDim>)
type Output = (ArrayViewMut<'a, A, I0::OutDim>, ArrayViewMut<'a, A, I1::OutDim>, ArrayViewMut<'a, A, I2::OutDim>, ArrayViewMut<'a, A, I3::OutDim>)
type Output = (ArrayViewMut<'a, A, I0::OutDim>, ArrayViewMut<'a, A, I1::OutDim>, ArrayViewMut<'a, A, I2::OutDim>, ArrayViewMut<'a, A, I3::OutDim>, ArrayViewMut<'a, A, I4::OutDim>)
type Output = (ArrayViewMut<'a, A, I0::OutDim>, ArrayViewMut<'a, A, I1::OutDim>, ArrayViewMut<'a, A, I2::OutDim>, ArrayViewMut<'a, A, I3::OutDim>, ArrayViewMut<'a, A, I4::OutDim>, ArrayViewMut<'a, A, I5::OutDim>)
impl<'a, A, D, T> MultiSliceArg<'a, A, D> for &T where
A: 'a,
D: Dimension,
T: MultiSliceArg<'a, A, D>,
[src]
impl<'a, A, D, T> MultiSliceArg<'a, A, D> for &T where
A: 'a,
D: Dimension,
T: MultiSliceArg<'a, A, D>,
[src]