macro_rules! impl_from_impl {
(dyn $($rest:tt)*) => { ... };
}Expand description
Implements FromImpl for all sized types implementing the specified trait.
trait MyTrait {}
impl_from_impl!(dyn MyTrait);
impl_from_impl!(dyn MyTrait + Send);
impl_from_impl!(dyn MyTrait + Send + Sync);