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