Function kvarn::prelude::utils::prelude::compact_str::core::intrinsics::ptr_metadata
source · pub const fn ptr_metadata<P, M>(_ptr: *const P) -> M
🔬This is a nightly-only experimental API. (
core_intrinsics
)Available on non-
bootstrap
only.Expand description
Lowers in MIR to Rvalue::UnaryOp
with UnOp::PtrMetadata
.
This is used to implement functions like ptr::metadata
.