pub fn derive_trait(item: DeriveInput, trait: Trait) -> TokenStreamExpand description
Creates an impl block for the respective trait over the item
Handles a few complex things
- Collisions with the names of generics on the trait and the structure
- Creating where clauses for referenced items