pub trait SintTraits: IntTraits {
const OVERFLOWING_ADD: &'static str;
const OVERFLOWING_SUB: &'static str;
const DIFF: &'static str;
const UNSIGNED_INT_TYPE: GenericTypeId;
}
Expand description
Trait for implementing signed integers.
Required Associated Constants§
sourceconst OVERFLOWING_ADD: &'static str
const OVERFLOWING_ADD: &'static str
The generic libfunc id for addition.
sourceconst OVERFLOWING_SUB: &'static str
const OVERFLOWING_SUB: &'static str
The generic libfunc id for subtraction.
sourceconst DIFF: &'static str
const DIFF: &'static str
The generic libfunc id for difference of signed integers, logically equivalent to subtraction of unsigned integers.
sourceconst UNSIGNED_INT_TYPE: GenericTypeId
const UNSIGNED_INT_TYPE: GenericTypeId
The generic type id of the equivalent unsigned integer type.
Object Safety§
This trait is not object safe.