Struct ReadWrite
pub struct ReadWrite<'a, E>where
E: Entity,{
ptr: <<E as Entity>::Group as ForType>::FaerOf<&'a mut MaybeUninit<<E as Entity>::Unit>>,
}
Expand description
Read-write view over a single matrix element.
Fields§
§ptr: <<E as Entity>::Group as ForType>::FaerOf<&'a mut MaybeUninit<<E as Entity>::Unit>>
Implementations§
Trait Implementations§
§impl<E> Deref for ReadWrite<'_, E>where
E: SimpleEntity,
impl<E> Deref for ReadWrite<'_, E>where
E: SimpleEntity,
Auto Trait Implementations§
impl<'a, E> Freeze for ReadWrite<'a, E>
impl<'a, E> RefUnwindSafe for ReadWrite<'a, E>where
<<E as Entity>::Group as ForType>::FaerOf<&'a mut MaybeUninit<<E as Entity>::Unit>>: RefUnwindSafe,
impl<'a, E> Send for ReadWrite<'a, E>
impl<'a, E> Sync for ReadWrite<'a, E>
impl<'a, E> Unpin for ReadWrite<'a, E>
impl<'a, E> UnwindSafe for ReadWrite<'a, E>where
<<E as Entity>::Group as ForType>::FaerOf<&'a mut MaybeUninit<<E as Entity>::Unit>>: UnwindSafe,
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> 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