Function derive

Source
pub fn derive(input: DeriveInput) -> Result<TokenStream>
Expand description

Expands #[derive(ParseAttrs)] proc macro.

§Errors

  • If the proc macro isn’t applied to a struct.
  • If parsing #[parse] helper attribute fails.