Function ring::test::compile_time_assert_copy
source · pub fn compile_time_assert_copy<T: Copy>()
Expand description
compile_time_assert_copy::<T>();
fails to compile if T
doesn’t
implement Copy
.
pub fn compile_time_assert_copy<T: Copy>()
compile_time_assert_copy::<T>();
fails to compile if T
doesn’t
implement Copy
.