[][src]Struct rkyv::core_impl::ArchivedRef

#[repr(transparent)]pub struct ArchivedRef<T> { /* fields omitted */ }

A strongly typed relative reference.

This is the reference type for all sized archived types. It uses RelPtr under the hood.

Trait Implementations

impl<T: CheckBytes<ArchiveContext>> CheckBytes<ArchiveContext> for ArchivedRef<T>[src]

type Error = ArchivedRefError<T::Error>

The error that may result from validating the type.

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

impl<T> Deref for ArchivedRef<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for ArchivedRef<T>[src]

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

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

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

Auto Trait Implementations

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

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

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

impl<T> !Unpin for ArchivedRef<T>

impl<T> UnwindSafe for ArchivedRef<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.