pub struct MatrixMut<'a, T> {
pub data: &'a mut DeviceMemory<T>,
pub leading_dimension: usize,
}Expand description
A mutable reference to a matrix stored on the device.
Fields§
§data: &'a mut DeviceMemory<T>§leading_dimension: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
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>
impl<'a, T> !UnwindSafe 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