Searched refs:WrappingNeg (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/num-traits/src/ops/ |
D | wrapping.rs | 104 pub trait WrappingNeg: Sized { interface 125 wrapping_unary_impl!(WrappingNeg, wrapping_neg, u8); 126 wrapping_unary_impl!(WrappingNeg, wrapping_neg, u16); 127 wrapping_unary_impl!(WrappingNeg, wrapping_neg, u32); 128 wrapping_unary_impl!(WrappingNeg, wrapping_neg, u64); 129 wrapping_unary_impl!(WrappingNeg, wrapping_neg, usize); 131 wrapping_unary_impl!(WrappingNeg, wrapping_neg, u128); 132 wrapping_unary_impl!(WrappingNeg, wrapping_neg, i8); 133 wrapping_unary_impl!(WrappingNeg, wrapping_neg, i16); 134 wrapping_unary_impl!(WrappingNeg, wrapping_neg, i32); [all …]
|
/external/rust/crates/num-traits/src/ |
D | lib.rs | 47 WrappingAdd, WrappingMul, WrappingNeg, WrappingShl, WrappingShr, WrappingSub,
|
/external/rust/crates/num-traits/ |
D | RELEASES.md | 30 - [The new `WrappingNeg` trait][153] will wrap the result if it exceeds the
|