[][src]Struct rkyv::std_impl::ArchivedBox

#[repr(transparent)]pub struct ArchivedBox<T>(_);

An archived Box.

This is a thin wrapper around the reference type for whatever type was archived.

Implementations

impl<T: DerefMut> ArchivedBox<T>[src]

pub fn get_pin(self: Pin<&mut Self>) -> Pin<&mut <T as Deref>::Target>[src]

Gets the value of this archived box as a pinned mutable reference.

Trait Implementations

impl<T: CheckBytes<C>, C> CheckBytes<C> for ArchivedBox<T>[src]

type Error = <T as CheckBytes<C>>::Error

The error that may result from validating the type.

impl<T: Debug> Debug for ArchivedBox<T>[src]

impl<T: Deref> Deref for ArchivedBox<T>[src]

type Target = T::Target

The resulting type after dereferencing.

impl<T: DerefMut> DerefMut for ArchivedBox<T>[src]

impl<T: Eq> Eq for ArchivedBox<T>[src]

impl<T: Hash> Hash for ArchivedBox<T>[src]

impl<T: Ord> Ord for ArchivedBox<T>[src]

impl<T: PartialEq> PartialEq<ArchivedBox<T>> for ArchivedBox<T>[src]

impl<T: Deref<Target = U>, U: PartialEq<V> + ?Sized, V: ?Sized> PartialEq<Box<V, Global>> for ArchivedBox<T>[src]

impl<T: PartialOrd> PartialOrd<ArchivedBox<T>> for ArchivedBox<T>[src]

impl<T> StructuralEq for ArchivedBox<T>[src]

impl<T> StructuralPartialEq for ArchivedBox<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ArchivedBox<T> where
    T: RefUnwindSafe

impl<T> Send for ArchivedBox<T> where
    T: Send

impl<T> Sync for ArchivedBox<T> where
    T: Sync

impl<T> Unpin for ArchivedBox<T> where
    T: Unpin

impl<T> UnwindSafe for ArchivedBox<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.