Lines Matching refs:Native
1057 trait Native: Arbitrary + FromBytes + IntoBytes + Immutable + Copy + PartialEq + Debug { trait
1109 FromBytes + IntoBytes + Unaligned + Copy + Eq + Debug + Hash + From<Self::Native>
1111 type Native: Native; typedef
1116 fn new(native: Self::Native) -> Self; in new()
1117 fn get(self) -> Self::Native; in get() argument
1118 fn set(&mut self, native: Self::Native); in set() argument
1163 impl Native for $native { impl
1179 type Native = $native;
1328 assert_eq!(T::ZERO.get(), T::Native::ZERO); in test_zero()
1339 assert_eq!(T::MAX_VALUE.get(), T::Native::MAX_VALUE); in test_max_value()
1352 let native = T::Native::rand(&mut r); in test_endian()
1368 let updated = T::Native::rand(&mut r); in test_endian()
1404 FTN: Fn(T, T::Native) -> T, in test_ops_impls() argument
1405 FNT: Fn(T::Native, T) -> T, in test_ops_impls() argument
1406 FNN: Fn(T::Native, T::Native) -> T::Native, in test_ops_impls() argument
1407 FNNChecked: Fn(T::Native, T::Native) -> Option<T::Native>, in test_ops_impls() argument
1409 FATN: Fn(&mut T, T::Native), in test_ops_impls()
1410 FANT: Fn(&mut T::Native, T), in test_ops_impls() argument
1414 let n0 = T::Native::rand(&mut r); in test_ops_impls()
1415 let n1 = T::Native::rand(&mut r); in test_ops_impls()
1433 let val_or_none = |t: T| (!T::Native::is_nan(t.get())).then(|| t.get()); in test_ops_impls()
1437 let n_n_res = (!T::Native::is_nan(n_n_res)).then(|| n_n_res); in test_ops_impls()
1455 let n_t_res = (!T::Native::is_nan(n_t_res)).then(|| n_t_res); in test_ops_impls()
1476 T: core::ops::$trait<T::Native, Output = T>, in test_ops_impls()
1477 T::Native: core::ops::$trait<T, Output = T>, in test_ops_impls()
1478 T::Native: core::ops::$trait<T::Native, Output = T::Native>, in test_ops_impls()
1481 T: core::ops::$trait_assign<T::Native>, in test_ops_impls()
1482 T::Native: core::ops::$trait_assign<T>, in test_ops_impls()
1483 T::Native: core::ops::$trait_assign<T::Native>, in test_ops_impls()
1492 … let mut op_native_checked = None::<fn(T::Native, T::Native) -> Option<T::Native>>; in test_ops_impls()
1494 op_native_checked = Some(T::Native::$checked_method); in test_ops_impls()
1500 <T as core::ops::$trait_assign::<T::Native>>::$method_assign, in test_ops_impls()
1501 <T::Native as core::ops::$trait_assign::<T>>::$method_assign in test_ops_impls()
1521 T::Native: core::ops::$trait<Output = T::Native>, in test_ops_impls()
1528 None::<fn(T::Native, T::Native) -> Option<T::Native>>, in test_ops_impls()
1529 None::<(fn(&mut T, T), fn(&mut T, T::Native), fn(&mut T::Native, T))>, in test_ops_impls()