Macro define_static_key_false

Source
macro_rules! define_static_key_false {
    ($key: ident) => { ... };
}
Expand description

Define a static key with false as initial value.

This macro will define a static mut variable without documentations and visibility modifiers. Use new_static_false_key for customization.

ยงUsage

use static_keys::define_static_key_false;

define_static_key_false!(MY_FALSE_STATIC_KEY);