pub struct UninitMut<'a, T, Rows = usize, Cols = usize, RStride = isize, CStride = isize> { /* private fields */ }Expand description
write-only mutable matrix view over possibly uninitialized storage.
This type deliberately does not implement any operation that forms a
reference to T. It is used by overwrite-only kernels, which write through
the raw pointer and return an initialized view only after a full write.
Trait Implementations§
impl<T: Send, Rows: Send, Cols: Send, RStride: Send, CStride: Send> Send for UninitMut<'_, T, Rows, Cols, RStride, CStride>
impl<T: Sync, Rows: Sync, Cols: Sync, RStride: Sync, CStride: Sync> Sync for UninitMut<'_, T, Rows, Cols, RStride, CStride>
Auto Trait Implementations§
impl<'a, T, Rows = usize, Cols = usize, RStride = isize, CStride = isize> !UnwindSafe for UninitMut<'a, T, Rows, Cols, RStride, CStride>
impl<'a, T, Rows, Cols, RStride, CStride> Freeze for UninitMut<'a, T, Rows, Cols, RStride, CStride>where
MatView<MaybeUninit<T>, Rows, Cols, RStride, CStride>: Freeze,
PhantomData<&'a mut MaybeUninit<T>>: Freeze,
impl<'a, T, Rows, Cols, RStride, CStride> RefUnwindSafe for UninitMut<'a, T, Rows, Cols, RStride, CStride>where
MatView<MaybeUninit<T>, Rows, Cols, RStride, CStride>: RefUnwindSafe,
PhantomData<&'a mut MaybeUninit<T>>: RefUnwindSafe,
impl<'a, T, Rows, Cols, RStride, CStride> Unpin for UninitMut<'a, T, Rows, Cols, RStride, CStride>where
MatView<MaybeUninit<T>, Rows, Cols, RStride, CStride>: Unpin,
PhantomData<&'a mut MaybeUninit<T>>: Unpin,
impl<'a, T, Rows, Cols, RStride, CStride> UnsafeUnpin for UninitMut<'a, T, Rows, Cols, RStride, CStride>where
MatView<MaybeUninit<T>, Rows, Cols, RStride, CStride>: UnsafeUnpin,
PhantomData<&'a mut MaybeUninit<T>>: UnsafeUnpin,
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
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more