const-reify
Runtime-to-const-generic bridge via match-table dispatch.
Given a runtime u64 value in 0..=255, dispatches to the corresponding
monomorphization of a const-generic type, enabling type-level programming
with runtime-determined values.
See DESIGN.md
for the design rationale and safety analysis.
Examples
use ;
let result = reify_const;
assert_eq!;
Using the [reify!] macro:
use ;
reify!;