Function serde::lib::core::intrinsics::mir::CastPtrToPtr

source ·
pub fn CastPtrToPtr<T, U>(operand: T) -> U
🔬This is a nightly-only experimental API. (custom_mir)
Expand description

Emits a CastKind::PtrToPtr cast.

This allows bypassing normal validation to generate strange casts.