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

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