counter_create

Macro counter_create 

Source
counter_create!() { /* proc-macro */ }
Expand description

Create new counter.

This counter begins with a value of 0, if you want to change it use counter_set!.

counter_create!(count);
assert_eq!(counter_incr!(count), 0);