pub struct MatrixRef<'a, T> {
pub data: &'a DeviceMemory<T>,
pub leading_dimension: usize,
}Expand description
A reference to a matrix stored on the device.
Fields§
§data: &'a DeviceMemory<T>§leading_dimension: usizeImplementations§
Trait Implementations§
impl<'a, T: Copy> Copy for MatrixRef<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for MatrixRef<'a, T>
impl<'a, T> RefUnwindSafe for MatrixRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MatrixRef<'a, T>where
T: Sync,
impl<'a, T> Sync for MatrixRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for MatrixRef<'a, T>
impl<'a, T> UnsafeUnpin for MatrixRef<'a, T>
impl<'a, T> UnwindSafe for MatrixRef<'a, T>where
T: RefUnwindSafe,
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