Lines Matching refs:OverflowingMul
65 pub trait OverflowingMul: Sized + Mul<Self, Output = Self> { trait
71 overflowing_impl!(OverflowingMul, overflowing_mul, u8);
72 overflowing_impl!(OverflowingMul, overflowing_mul, u16);
73 overflowing_impl!(OverflowingMul, overflowing_mul, u32);
74 overflowing_impl!(OverflowingMul, overflowing_mul, u64);
75 overflowing_impl!(OverflowingMul, overflowing_mul, usize);
77 overflowing_impl!(OverflowingMul, overflowing_mul, u128);
79 overflowing_impl!(OverflowingMul, overflowing_mul, i8);
80 overflowing_impl!(OverflowingMul, overflowing_mul, i16);
81 overflowing_impl!(OverflowingMul, overflowing_mul, i32);
82 overflowing_impl!(OverflowingMul, overflowing_mul, i64);
83 overflowing_impl!(OverflowingMul, overflowing_mul, isize);
85 overflowing_impl!(OverflowingMul, overflowing_mul, i128);
95 fn overflowing_mul<T: OverflowingMul>(a: T, b: T) -> (T, bool) { in test_overflowing_traits()