Macro const_gen::const_declaration [−][src]
macro_rules! const_declaration { ($name:ident = $($val:tt)*) => { ... }; }
A macro to help in the creation of const declarations. Allows this syntax:
const_declaration!(VAR_NAME = value)
This is syntactic sugar for calling the CompileConst::const_declaration
function.