Function ring::test::compile_time_assert_clone
source · pub fn compile_time_assert_clone<T: Clone>()
Expand description
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
.