Module plexus::constant[][src]

Morphisms between constant generics and numeric types.

This module provides conversions between typenum’s unsigned integer types and usize constant generics. These conversions are necessary to perform static computations and comparisons, which cannot yet be done using constant generics alone at the time of writing (e.g., {N >= 3}).

See discussion on the Rust internals forum.

Structs

Constant

Traits

ToConstant
ToType

Type Definitions

ConstantOf
TypeOf