1 2 3 4 5 6 7 8 9 10 11
macro_rules! impl_extendable { ($($struct:ty),+ $(,)?) => { $( impl $crate::primitives::Extendable for $struct { fn other(&self) -> Option<&HashMap<String, Value>> { self.other.as_ref() } } )+ } }