macro_rules! impl_entry {
($source:ty, $target:ty) => { ... };
}
Expand description
Constructs a ImplEntry
for a trait and a concrete struct implementing
that trait.
ยงExample
use std::fmt::Display;
let x: ImplEntry<Display> = impl_entry!(dyn Display, i32);