macro_rules! define_static_key_true_generic {
($key: ident, $manipulator: ty) => { ... };
}Expand description
Define a static key generic over code manipulator with true as initial value.
This macro will define a static mut variable without documentations and visibility modifiers.
Use new_static_true_key_generic for customization.
§Usage
ⓘ
use static_keys::{define_static_key_true_generic};
define_static_key_true_generic!(MY_TRUE_STATIC_KEY, DummyCodeManipulator);