complete_impl

Function complete_impl 

Source
pub fn complete_impl(
    trait_items: &[TraitItem],
    impl_block: &ItemImpl,
    generator: impl GenerateImpl,
) -> Result<ItemImpl>
Expand description

Invokes the generator on each unimplemented item and returns a clone of impl_block with the generated items.