Searched refs:WrappingAdd (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/num-traits/src/ops/ |
D | wrapping.rs | 24 pub trait WrappingAdd: Sized + Add<Self, Output = Self> { trait 30 wrapping_impl!(WrappingAdd, wrapping_add, u8); 31 wrapping_impl!(WrappingAdd, wrapping_add, u16); 32 wrapping_impl!(WrappingAdd, wrapping_add, u32); 33 wrapping_impl!(WrappingAdd, wrapping_add, u64); 34 wrapping_impl!(WrappingAdd, wrapping_add, usize); 36 wrapping_impl!(WrappingAdd, wrapping_add, u128); 38 wrapping_impl!(WrappingAdd, wrapping_add, i8); 39 wrapping_impl!(WrappingAdd, wrapping_add, i16); 40 wrapping_impl!(WrappingAdd, wrapping_add, i32); [all …]
|
/external/rust/crates/num-integer/benches/ |
D | roots.rs | 11 use num_traits::{AsPrimitive, PrimInt, WrappingAdd, WrappingMul}; 14 trait BenchInteger: Integer + PrimInt + WrappingAdd + WrappingMul + 'static {} 16 impl<T> BenchInteger for T where T: Integer + PrimInt + WrappingAdd + WrappingMul + 'static {}
|
D | average.rs | 10 use num_traits::{AsPrimitive, PrimInt, WrappingAdd, WrappingMul}; 17 trait BenchInteger: Integer + PrimInt + WrappingAdd + WrappingMul + 'static {} 19 impl<T> BenchInteger for T where T: Integer + PrimInt + WrappingAdd + WrappingMul + 'static {}
|
/external/rust/crates/num-traits/src/ |
D | lib.rs | 47 WrappingAdd, WrappingMul, WrappingNeg, WrappingShl, WrappingShr, WrappingSub,
|