std::intrinsics::mir

Function PtrMetadata

source
pub fn PtrMetadata<P>(place: *const P) -> <P as Pointee>::Metadata
where P: ?Sized,
🔬This is a nightly-only experimental API. (custom_mir)