pub enum PackedMemorySliceMut<'a, P: PackedField> {
Slice(&'a mut [P]),
Owned(SmallOwnedChunk<P>),
}
Variants§
Slice(&'a mut [P])
Owned(SmallOwnedChunk<P>)
Implementations§
Source§impl<'a, P: PackedField> PackedMemorySliceMut<'a, P>
impl<'a, P: PackedField> PackedMemorySliceMut<'a, P>
Trait Implementations§
Source§impl<'a, P: PackedField> SizedSlice for PackedMemorySliceMut<'a, P>
impl<'a, P: PackedField> SizedSlice for PackedMemorySliceMut<'a, P>
Auto Trait Implementations§
impl<'a, P> Freeze for PackedMemorySliceMut<'a, P>where
P: Freeze,
impl<'a, P> RefUnwindSafe for PackedMemorySliceMut<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for PackedMemorySliceMut<'a, P>
impl<'a, P> Sync for PackedMemorySliceMut<'a, P>
impl<'a, P> Unpin for PackedMemorySliceMut<'a, P>where
P: Unpin,
impl<'a, P> !UnwindSafe for PackedMemorySliceMut<'a, P>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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