pub trait FillDerive {
type Args: Parse;
// Required method
fn fill(
self,
trait_path: &Path,
portrait: &[TraitItem],
args: Self::Args,
input: &DeriveInput,
) -> Result<TokenStream>;
}Expand description
Determines how to derive an impl.
Required Associated Types§
Required Methods§
Sourcefn fill(
self,
trait_path: &Path,
portrait: &[TraitItem],
args: Self::Args,
input: &DeriveInput,
) -> Result<TokenStream>
fn fill( self, trait_path: &Path, portrait: &[TraitItem], args: Self::Args, input: &DeriveInput, ) -> Result<TokenStream>
Derives the impl given a portrait of the trait items and the derived item.