pub struct LastEq<Rows, Cols, Mat: MatShape<Rows = Rows, Cols = Cols>>(pub Mat);Tuple Fields§
§0: MatImplementations§
source§impl<M: for<'a> MatIndex<'a, Rows = usize, Cols = usize, Index = (usize, usize), LayoutTransform = MatLayoutTransform>> LastEq<usize, usize, M>
impl<M: for<'a> MatIndex<'a, Rows = usize, Cols = usize, Index = (usize, usize), LayoutTransform = MatLayoutTransform>> LastEq<usize, usize, M>
pub fn for_each(self, f: impl for<'a> FnMut(<Self as MatIndex<'a>>::Item))
pub fn for_each_triangular_lower( self, diag: Diag, f: impl for<'a> FnMut(<Self as MatIndex<'a>>::Item) )
pub fn for_each_triangular_upper( self, diag: Diag, f: impl for<'a> FnMut(<Self as MatIndex<'a>>::Item) )
pub fn map<E: Entity>( self, f: impl for<'a> FnMut(<Self as MatIndex<'a>>::Item) -> E ) -> Mat<E>
source§impl<M: for<'a> MatIndex<'a, Rows = (), Cols = usize, Index = ((), usize), LayoutTransform = VecLayoutTransform>> LastEq<(), usize, M>
impl<M: for<'a> MatIndex<'a, Rows = (), Cols = usize, Index = ((), usize), LayoutTransform = VecLayoutTransform>> LastEq<(), usize, M>
Trait Implementations§
source§impl<Rows: Clone, Cols: Clone, Mat: Clone + MatShape<Rows = Rows, Cols = Cols>> Clone for LastEq<Rows, Cols, Mat>
impl<Rows: Clone, Cols: Clone, Mat: Clone + MatShape<Rows = Rows, Cols = Cols>> Clone for LastEq<Rows, Cols, Mat>
source§impl<Rows: Debug, Cols: Debug, Mat: Debug + MatShape<Rows = Rows, Cols = Cols>> Debug for LastEq<Rows, Cols, Mat>
impl<Rows: Debug, Cols: Debug, Mat: Debug + MatShape<Rows = Rows, Cols = Cols>> Debug for LastEq<Rows, Cols, Mat>
source§impl<'a, Rows: Copy + Eq, Cols: Copy + Eq, Mat: MatIndex<'a, Rows = Rows, Cols = Cols>> MatIndex<'a> for LastEq<Rows, Cols, Mat>
impl<'a, Rows: Copy + Eq, Cols: Copy + Eq, Mat: MatIndex<'a, Rows = Rows, Cols = Cols>> MatIndex<'a> for LastEq<Rows, Cols, Mat>
type Item = Last<<Mat as MatIndex<'a>>::Item>
unsafe fn get_unchecked(&'a mut self, index: Self::Index) -> Self::Item
unsafe fn get_from_slice_unchecked( slice: &'a mut Self::Slice, idx: usize ) -> Self::Item
fn is_contiguous(&self) -> bool
fn preferred_layout(&self) -> Self::LayoutTransform
fn with_layout(self, layout: Self::LayoutTransform) -> Self
source§impl<Rows: Copy + Eq, Cols: Copy + Eq, Mat: MatShape<Rows = Rows, Cols = Cols>> MatShape for LastEq<Rows, Cols, Mat>
impl<Rows: Copy + Eq, Cols: Copy + Eq, Mat: MatShape<Rows = Rows, Cols = Cols>> MatShape for LastEq<Rows, Cols, Mat>
source§impl<Rows: Copy + Eq, Cols: Copy + Eq, Mat: MaybeContiguous<Rows = Rows, Cols = Cols>> MaybeContiguous for LastEq<Rows, Cols, Mat>
impl<Rows: Copy + Eq, Cols: Copy + Eq, Mat: MaybeContiguous<Rows = Rows, Cols = Cols>> MaybeContiguous for LastEq<Rows, Cols, Mat>
type Index = <Mat as MaybeContiguous>::Index
type Slice = Last<<Mat as MaybeContiguous>::Slice>
type LayoutTransform = <Mat as MaybeContiguous>::LayoutTransform
unsafe fn get_slice_unchecked( &mut self, idx: Self::Index, n_elems: usize ) -> Self::Slice
impl<Rows: Copy, Cols: Copy, Mat: Copy + MatShape<Rows = Rows, Cols = Cols>> Copy for LastEq<Rows, Cols, Mat>
Auto Trait Implementations§
impl<Rows, Cols, Mat> RefUnwindSafe for LastEq<Rows, Cols, Mat>where
Mat: RefUnwindSafe,
impl<Rows, Cols, Mat> Send for LastEq<Rows, Cols, Mat>where
Mat: Send,
impl<Rows, Cols, Mat> Sync for LastEq<Rows, Cols, Mat>where
Mat: Sync,
impl<Rows, Cols, Mat> Unpin for LastEq<Rows, Cols, Mat>where
Mat: Unpin,
impl<Rows, Cols, Mat> UnwindSafe for LastEq<Rows, Cols, Mat>where
Mat: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more