[−][src]Macro binjs::generic::const_with_str
From a set of macro definitions, derive a module with a set of matching &'static str
.
Example:
const_with_str! { const FOO: usize = 0; mod my_strings; }
will produce
const FOO: usize = 0; mod my_strings { const FOO: &'static str = "0"; }