macro_rules! maybe_static {
($arg:expr, $t:ty, $fn:expr) => { ... };
($t:ty, $fn:expr) => { ... };
($t:ty) => { ... };
}Expand description
Create an immutable (safe in any case) Meyer’s singleton in the current scope.
macro_rules! maybe_static {
($arg:expr, $t:ty, $fn:expr) => { ... };
($t:ty, $fn:expr) => { ... };
($t:ty) => { ... };
}Create an immutable (safe in any case) Meyer’s singleton in the current scope.