1 2 3 4 5 6 7 8 9
macro_rules! _impl_marker_trait { ($trait:path, [$($ty:ty),+ $(,)?]) => { $( impl $trait for $ty {} )+ }; } pub(crate) use _impl_marker_trait;