Function assert_copy_static

Source
pub fn assert_copy_static<T: Copy + 'static>(_: &T)
Expand description

Compile-time check for Copy + 'static - helper for macros

Used by #[deftly(has_memory_cost(copy))] and memory_cost_structural_copy! to check that the type really is suitable.