Function ring::test::compile_time_assert_clone [−][src]
pub fn compile_time_assert_clone<T: Clone>()
compile_time_assert_clone::<T>();
fails to compile if T
doesn’t
implement Clone
.
pub fn compile_time_assert_clone<T: Clone>()
compile_time_assert_clone::<T>();
fails to compile if T
doesn’t
implement Clone
.