new_static_true_key_generic

Function new_static_true_key_generic 

Source
pub const fn new_static_true_key_generic<M: CodeManipulator>() -> RawStaticTrueKey<M>
Expand description

Create a new static key generic over code manipulator with true as initial value.

This method should be called to initialize a static mut static key. It is UB to use this method to create a static key on stack or heap, and use this static key to control branches.

Use define_static_key_true_generic for short.