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

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

The archived version of the pointer metadata for this type.

Required methods

Converts some archived metadata to the pointer metadata for itself.

Implementations on Foreign Types

Implementors