Crate const_gen[−][src]
Macros
const_declaration | A macro to help in the creation of const declarations. Allows this syntax:
|
const_definition | A macro to help in the creation of const definitions. Allows this syntax:
|
Traits
CompileConst | Trait which defines how a type should be represented as a constant |
Derive Macros
CompileConst | Derives the CompileConst trait for structs and enums. Requires that all fields also implement the CompileConst trait. |