Module typenum::type_operators [−][src]
Useful type operators that are not defined in core::ops
.
Traits
Abs | A type operator that returns the absolute value. |
Cmp | A type operator for comparing |
Gcd | A type operator that computes the greatest common divisor of |
IsEqual | A type operator that returns |
IsGreater | A type operator that returns |
IsGreaterOrEqual | A type operator that returns |
IsLess | A type operator that returns |
IsLessOrEqual | A type operator that returns |
IsNotEqual | A type operator that returns |
Len | A type operator that gives the length of an |
Logarithm2 | A type operator for taking the integer binary logarithm of |
Max | A type operator that returns the maximum of |
Min | A type operator that returns the minimum of |
PartialDiv | Division as a partial function. This type operator performs division just as |
Pow | A type operator that provides exponentiation by repeated squaring. |
Same | A type operator that ensures that |
SquareRoot | A type operator for taking the integer square root of |
ToInt | A type operator for taking a concrete integer value from a type. |