Trait MaybeContiguous
pub unsafe trait MaybeContiguous: MatShape {
type Index: Copy;
type Slice;
type LayoutTransform: Copy;
// Required method
unsafe fn get_slice_unchecked(
&mut self,
idx: Self::Index,
n_elems: usize,
) -> Self::Slice;
}
Expand description
Zipped matrix views.
Required Associated Types§
type Slice
type Slice
Contiguous slice type.
type LayoutTransform: Copy
type LayoutTransform: Copy
Layout transformation type.
Required Methods§
unsafe fn get_slice_unchecked(
&mut self,
idx: Self::Index,
n_elems: usize,
) -> Self::Slice
unsafe fn get_slice_unchecked( &mut self, idx: Self::Index, n_elems: usize, ) -> Self::Slice
Returns slice at index of length n_elems
.