Crate lazing

Source
Expand description

A macro like lazy_static can initialize static variables.

§Usage

#[lazy]
static NAME: String = "Hello".to_string();

fn main() {
   println!("{}",NAME.deref());
}
  

Attribute Macros§

lazy
Parses the following syntax