macro_rules! init {
() => { ... };
}Expand description
Initializes CSS name mappings which is later retreived with css_mod::get!().
Should be called once in a lifetime of the program, before first call to css_mod::get!().
Expects mappings where already generated by css_mod::Compiler in build script.
Example
ⓘ
// main.rs
fn main() {
css_mod::init!();
}