Function synthez_core::codegen::parse_attrs::derive [−][src]
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.