Module typenum::type_operators [] [src]

This module provides useful type operators that are not defined in core.

Traits

Cmp

A type operator for comparing Self and Rhs. It provides a similar functionality to the function core::cmp::Ord::cmp but for types.

Len

A type operator that gives the length of an Array or the number of bits in a UInt.

Pow

A type operator that provides exponentiation by repeated squaring.

Same

A type operator that ensures that Rhs is the same as Self, it is mainly useful for writing macros that can take arbitrary binary or unary operators.