pub trait Signed:
Number
+ Neg<Output = Self>
+ From<i8> {
const MINUS_ONE: Self;
}
Expand description
Trait implemented by the primitive signed integer and floating point types.
Required Associated Constants§
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.