Module core::ptr::metadata

source ·
🔬This is a nightly-only experimental API. (ptr_metadata #81513)

Structs

Traits

  • PointeeExperimental
    Provides the pointer metadata type of any pointed-to type.

Functions

  • from_raw_partsExperimental
    Forms a (possibly-wide) raw pointer from a data address and metadata.
  • from_raw_parts_mutExperimental
    Performs the same functionality as from_raw_parts, except that a raw *mut pointer is returned, as opposed to a raw *const pointer.
  • metadataExperimental
    Extract the metadata component of a pointer.

Unions

Foreign Types

  • VTable 🔒 Experimental
    Opaque type for accessing vtables.

Trait Aliases

  • ThinExperimental
    Pointers to types implementing this trait alias are “thin”.