define_static_key_true

Macro define_static_key_true 

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

Define a static key with true as initial value.

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

ยงUsage

use static_keys::define_static_key_true;

define_static_key_true!(MY_TRUE_STATIC_KEY);