frunk_proc_macro_helpers

Function to_ast

source
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.