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