pub trait PrimitiveSigned:
Abs<Output = Self>
+ AbsAssign
+ CeilingDivAssignMod<Self, ModOutput = Self>
+ CeilingDivMod<Self, DivOutput = Self, ModOutput = Self>
+ CeilingMod<Self, Output = Self>
+ CeilingModAssign<Self>
+ CeilingModPowerOf2<Output = Self>
+ CeilingModPowerOf2Assign
+ CheckedAbs<Output = Self>
+ CheckedHammingDistance
+ ExtendedGcd<Self, Cofactor = Self>
+ From<i8>
+ Neg<Output = Self>
+ NegAssign
+ NegativeOne
+ OverflowingAbs<Output = Self>
+ OverflowingAbsAssign
+ PrimitiveInt
+ SaturatingAbs<Output = Self>
+ SaturatingAbsAssign
+ SaturatingNeg<Output = Self>
+ SaturatingNegAssign
+ UnsignedAbs
+ WrappingAbs<Output = Self>
+ WrappingAbsAssign { }
Expand description
Defines functions on primitive signed integer types: ixx and isize.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.