define_static_key_false_generic

Macro define_static_key_false_generic 

Source
macro_rules! define_static_key_false_generic {
    ($key: ident, $manipulator: ty) => { ... };
}
Expand description

Define a static key generic over code manipulator with false as initial value.

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

§Usage

use static_keys::{define_static_key_false_generic};
define_static_key_false_generic!(MY_FALSE_STATIC_KEY, DummyCodeManipulator);