Function kvarn::prelude::networking::prelude::utils::prelude::compact_str::core::intrinsics::mir::CastTransmute
source · pub fn CastTransmute<T, U>(operand: T) -> U
🔬This is a nightly-only experimental API. (
custom_mir
)Available on non-crate feature
miri-test-libstd
only.Expand description
Emits a CastKind::Transmute
cast.
Needed to test the UB when sizeof(T) != sizeof(U)
, which can’t be
generated via the normal mem::transmute
.