pub const unsafe fn transmute_neo<Src, Dst>(src: Src) -> Dst🔬This is a nightly-only experimental API. (
transmute_neo #155079)Expand description
New version of transmute, exposed under this name so it can be iterated upon
without risking breakage to uses of “real” transmute.
Uses a const-assert to check the sizes instead of typeck hacks,
but is semantially identical to transmute otherwise.
It will not be stabilized under this name.