pub fn compiler_move<T, const SIZE: usize>(_src: *const T, _dst: *mut T)🔬This is a nightly-only experimental API. (
profiling_marker_api #148197)Expand description
Profiling marker for move operations.
This function is never called at runtime. When -Z annotate-moves is enabled,
the compiler creates synthetic debug info that makes move operations appear as
calls to this function in profilers.
The SIZE parameter encodes the size of the type being copied. It’s the same as
size_of::<T>(), and is only present for convenience.