Macro maybe_static::maybe_static_unsafe
source · macro_rules! maybe_static_unsafe { ($arg:expr, $t:ty, $fn:expr) => { ... }; ($t:ty, $fn:expr) => { ... }; ($t:ty) => { ... }; }
Expand description
Create an mutable (not safe in multithreading contexts) Meyer’s singleton in the current scope.