[−][src]Macro traitcast_core::impl_entry
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);
Constructs a ImplEntry
for a trait and a concrete struct implementing
that trait.
use std::fmt::Display; let x: ImplEntry<Display> = impl_entry!(dyn Display, i32);