pub struct MatrixInstanceMut<'a, T> {
pub num_rows: u16,
pub num_cols: u16,
pub data: &'a mut [T],
}Expand description
Mutable Matrix structure wrapping a mutable slice of data in row-major order.
Fields§
§num_rows: u16§num_cols: u16§data: &'a mut [T]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for MatrixInstanceMut<'a, T>
impl<'a, T> Freeze for MatrixInstanceMut<'a, T>
impl<'a, T> RefUnwindSafe for MatrixInstanceMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MatrixInstanceMut<'a, T>where
T: Send,
impl<'a, T> Sync for MatrixInstanceMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for MatrixInstanceMut<'a, T>
impl<'a, T> UnsafeUnpin for MatrixInstanceMut<'a, T>
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