Expand description
Stable backport of the unstable
Next-Gen Transmute functions
transmute_prefix and transmute_neo to Rust 1.56
Functions§
- transmute_
neo ⚠ - New version of
transmute, exposed under this name so it can be iterated upon without risking breakage to uses of “real” transmute. - transmute_
prefix ⚠ - Like
transmute, but only initializes the “common prefix” of the firstmin(size_of::<Src>(), size_of::<Dst>())bytes of the destination from the corresponding bytes of the source.