Struct faer_core::constrained::MatMut
source · pub struct MatMut<'nrows, 'ncols, 'a, E: Entity>(/* private fields */);Implementations§
source§impl<'nrows, 'ncols, 'a, E: Entity> MatMut<'nrows, 'ncols, 'a, E>
impl<'nrows, 'ncols, 'a, E: Entity> MatMut<'nrows, 'ncols, 'a, E>
pub fn new( inner: MatMut<'a, E>, nrows: Size<'nrows>, ncols: Size<'ncols> ) -> Self
pub fn nrows(&self) -> Size<'nrows>
pub fn ncols(&self) -> Size<'ncols>
pub fn into_inner(self) -> MatMut<'a, E>
pub fn read(&self, i: Idx<'nrows, usize>, j: Idx<'ncols, usize>) -> E
pub fn write(&mut self, i: Idx<'nrows, usize>, j: Idx<'ncols, usize>, value: E)
Trait Implementations§
Auto Trait Implementations§
impl<'nrows, 'ncols, 'a, E> RefUnwindSafe for MatMut<'nrows, 'ncols, 'a, E>where
E: RefUnwindSafe,
<<E as Entity>::Group as ForCopyType>::FaerOfCopy<*mut <E as Entity>::Unit>: RefUnwindSafe,
impl<'nrows, 'ncols, 'a, E> Send for MatMut<'nrows, 'ncols, 'a, E>
impl<'nrows, 'ncols, 'a, E> Sync for MatMut<'nrows, 'ncols, 'a, E>
impl<'nrows, 'ncols, 'a, E> Unpin for MatMut<'nrows, 'ncols, 'a, E>
impl<'nrows, 'ncols, 'a, E> !UnwindSafe for MatMut<'nrows, 'ncols, 'a, E>
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