pub struct AsBox;
Expand description
Trait Implementations
sourceimpl<F: ArchiveUnsized + ?Sized> ArchiveWith<F> for AsBox
impl<F: ArchiveUnsized + ?Sized> ArchiveWith<F> for AsBox
type Archived = ArchivedBox<F::Archived>
type Archived = ArchivedBox<F::Archived>
The archived type of a With<F, Self>
.
type Resolver = BoxResolver<F::MetadataResolver>
type Resolver = BoxResolver<F::MetadataResolver>
The resolver of a With<F, Self>
.
sourceimpl<F: Archive, D: Fallible + ?Sized> DeserializeWith<<F as Archive>::Archived, F, D> for AsBox where
F::Archived: Deserialize<F, D>,
impl<F: Archive, D: Fallible + ?Sized> DeserializeWith<<F as Archive>::Archived, F, D> for AsBox where
F::Archived: Deserialize<F, D>,
sourceimpl<F: SerializeUnsized<S> + ?Sized, S: Fallible + ?Sized> SerializeWith<F, S> for AsBox
impl<F: SerializeUnsized<S> + ?Sized, S: Fallible + ?Sized> SerializeWith<F, S> for AsBox
Auto Trait Implementations
impl RefUnwindSafe for AsBox
impl Send for AsBox
impl Sync for AsBox
impl Unpin for AsBox
impl UnwindSafe for AsBox
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more