pub fn to_ast(input: TokenStream) -> DeriveInput
Expand description

Parses a TokenStream (usually received as input into a custom derive function), into a syn MacroInput AST, which is nice.