Trait rkyv::ArchivePointee[][src]

pub trait ArchivePointee: Pointee {
    type ArchivedMetadata;
    fn pointer_metadata(archived: &Self::ArchivedMetadata) -> Self::Metadata;
}

An archived type with associated metadata for its relative pointer.

This is mostly used in the context of smart pointers and unsized types, and is implemented for all sized types by default.

Associated Types

type ArchivedMetadata[src]

The archived version of the pointer metadata for this type.

Loading content...

Required methods

fn pointer_metadata(archived: &Self::ArchivedMetadata) -> Self::Metadata[src]

Converts some archived metadata to the pointer metadata for itself.

Loading content...

Implementations on Foreign Types

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

impl ArchivePointee for str[src]

Loading content...

Implementors

Loading content...