pub struct DataOwned<C> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<C> DataCloneAPI for DataOwned<C>where
C: Clone,
impl<C> DataCloneAPI for DataOwned<C>where
C: Clone,
Source§impl<C> DataMutAPI for DataOwned<C>
impl<C> DataMutAPI for DataOwned<C>
Source§impl<T> PackArrayAPI<T> for DataOwned<Vec<T>>
impl<T> PackArrayAPI<T> for DataOwned<Vec<T>>
fn pack_array_f<const N: usize>( self, ) -> Result<<DataOwned<Vec<T>> as PackableArrayAPI<T, N>>::ArrayVec, Error>
fn pack_array<const N: usize>(self) -> Self::ArrayVecwhere
Self: Sized + PackableArrayAPI<T, N>,
impl<C> Send for DataOwned<C>where
C: Send,
Auto Trait Implementations§
impl<C> Freeze for DataOwned<C>where
C: Freeze,
impl<C> RefUnwindSafe for DataOwned<C>where
C: RefUnwindSafe,
impl<C> Sync for DataOwned<C>where
C: Sync,
impl<C> Unpin for DataOwned<C>where
C: Unpin,
impl<C> UnwindSafe for DataOwned<C>where
C: 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