pub struct MatrixMut<'a, T>where
T: DeviceRepr + Copy + 'static,{
pub data: DeviceSliceMut<'a, T>,
pub rows: i32,
pub cols: i32,
pub ld: i64,
}Expand description
Mutable view of a device-resident matrix (used for the output D).
See MatrixRef for the rationale behind the relaxed T bound.
Fields§
§data: DeviceSliceMut<'a, T>Device-resident element storage.
rows: i32Number of rows.
cols: i32Number of columns.
ld: i64Leading dimension in elements.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for MatrixMut<'a, T>
impl<'a, T> Freeze for MatrixMut<'a, T>
impl<'a, T> RefUnwindSafe for MatrixMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MatrixMut<'a, T>where
T: Send,
impl<'a, T> Sync for MatrixMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for MatrixMut<'a, T>
impl<'a, T> UnsafeUnpin for MatrixMut<'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