1 2 3 4 5 6 7 8 9 10 11
macro_rules! impl_namespace { ($namespace:expr, $($struct_name:ident),+) => { $( impl crate::annotations::traits::Namespace for $struct_name { const NAMESPACE: &'static str = $namespace; } )+ }; } pub(crate) use impl_namespace;