Macro dilib::get_resolved_trait
source · [−]macro_rules! get_resolved_trait {
($container:ident, $trait_type:ident $(<$($generic:ident),+>)?) => { ... };
($container:ident, $trait_type:ident $(<$($generic:ident),+>)?, $name:literal) => { ... };
}Expand description
Helper macro to get an implementation of a trait in a Container.