macro_rules! static_copy_map {
(constants of type $ty:ty: $($key:expr => $val:expr),*$(,)?) => { ... };
(of type $ty:ty: $($tt:tt)*) => { ... };
($($tt:tt)*) => { ... };
}
Expand description
Macro to create a StaticCopyMap.
This macro is a thin wrapper around static_map. The behavior is identical except that is creates a StaticCopyMap instead of a StaticMap.