Macros§
- impl_
ct_ 🔒neg_ for_ unsigned_ nonzero - Unfortunately
NonZeroU*doesn’t supportwrapping_negfor some reason (butNonZeroI*does), even though the wrapping negation of any non-zero integer should also be non-zero. - impl_
signed_ 🔒ct_ neg - impl_
unsigned_ 🔒ct_ neg
Traits§
- CtNeg
- Constant-time conditional negation: negates a value when
choiceisChoice::TRUE.