complete_derive

Function complete_derive 

Source
pub fn complete_derive(
    trait_path: &Path,
    trait_items: &[TraitItem],
    input: &DeriveInput,
    generator: impl GenerateDerive,
) -> Result<ItemImpl>
Expand description

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