new

Macro new 

Source
macro_rules! new {
    () => { ... };
}
Expand description

Generate Global<T> at the context. No arguments are supported.

const COUNTER: proc_state::Global<Mutex<usize>> = proc_state::new!();