Lines Matching refs:OverflowingSub
42 pub trait OverflowingSub: Sized + Sub<Self, Output = Self> { interface
48 overflowing_impl!(OverflowingSub, overflowing_sub, u8);
49 overflowing_impl!(OverflowingSub, overflowing_sub, u16);
50 overflowing_impl!(OverflowingSub, overflowing_sub, u32);
51 overflowing_impl!(OverflowingSub, overflowing_sub, u64);
52 overflowing_impl!(OverflowingSub, overflowing_sub, usize);
54 overflowing_impl!(OverflowingSub, overflowing_sub, u128);
56 overflowing_impl!(OverflowingSub, overflowing_sub, i8);
57 overflowing_impl!(OverflowingSub, overflowing_sub, i16);
58 overflowing_impl!(OverflowingSub, overflowing_sub, i32);
59 overflowing_impl!(OverflowingSub, overflowing_sub, i64);
60 overflowing_impl!(OverflowingSub, overflowing_sub, isize);
62 overflowing_impl!(OverflowingSub, overflowing_sub, i128);
92 fn overflowing_sub<T: OverflowingSub>(a: T, b: T) -> (T, bool) { in test_overflowing_traits()