Home
last modified time | relevance | path

Searched refs:WrappingAdd (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/num-traits/src/ops/
Dwrapping.rs24 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/
Droots.rs11 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 {}
Daverage.rs10 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/
Dlib.rs47 WrappingAdd, WrappingMul, WrappingNeg, WrappingShl, WrappingShr, WrappingSub,