π¬This is a nightly-only experimental API. (
ptr_metadata #81513)Re-exportsΒ§
use crate::clone::TrivialClone;πExperimental use crate::fmt;πuse crate::hash::Hash;πuse crate::hash::Hash;πuse crate::hash::Hasher;πuse crate::intrinsics::aggregate_raw_ptr;πExperimental use crate::intrinsics::ptr_metadata;πExperimental use crate::marker::Freeze;πExperimental use crate::marker::PointeeSized;πExperimental use crate::ptr::NonNull;π
StructsΒ§
- DynMetadata
Experimental - The metadata for a
Dyn = dyn SomeTraittrait object type.
TraitsΒ§
- Pointee
Experimental - Provides the pointer metadata type of any pointed-to type.
FunctionsΒ§
- from_
raw_ parts Experimental - Forms a (possibly-wide) raw pointer from a data pointer and metadata.
- from_
raw_ parts_ mut Experimental - Performs the same functionality as
from_raw_parts, except that a raw*mutpointer is returned, as opposed to a raw*constpointer. - metadata
Experimental - Extracts the metadata component of a pointer.
Foreign TypesΒ§
- VTable π
Experimental - Opaque type for accessing vtables.
Trait AliasesΒ§
- Thin
Experimental - Pointers to types implementing this trait alias are βthinβ.