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)