Macro plugin_tls::lazy_static
source · [−]macro_rules! lazy_static {
() => { ... };
($(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { ... };
($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { ... };
($(#[$attr:meta])* pub ($($vis:tt)+) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { ... };
}
Expand description
Create a lazily-initialized static value.
This macro has identical syntax to lazy_static::lazy_static!
.