Expand description
Static dispatch for codes.
This kind of dispatch is resolved at compile time against a specific
CodesRead
. Thus, the code can be inlined and optimized, contrarily to
the dynamic case, but you have less flexibility
as codes have to be chosen at compile time.
Modules§
- code_
consts - The constants to use as generic parameter for the
ConstCode
struct.
Structs§
- Const
Code - A zero-sized struct with a const generic parameter representing a code using
the values exported by the
code_consts
module.