Module ptr

Module ptr 

Source
Expand description

§Pointer Metadata

This module defines the PtrMeta trait for handling different pointer types and their associated metadata, particularly for fat pointers like slices and trait objects.

§Safety

Implementations must correctly handle pointer metadata and ensure that the unused bits calculation is accurate for the target architecture.

Modules§

ptr_impl

Traits§

PtrMeta
Metadata trait for pointer types that can be used with FlaggedPtr.