Crate token_parser_derive

Crate token_parser_derive 

Source
Expand description

Derive macros to automatically implement the Parsable trait from token-parser for tuple structs (unnamed fields).

Supports sequential parsing via parse_list (Parsable derive) or symbol parsing via FromStr (SymbolParsable derive).

Derive Macrosยง

Parsable
Derive the Parsable trait by parsing all unnamed fields in order using the Parsable trait.
SymbolParsable
Derive the Parsable trait by parsing unnamed fields using the FromStr trait.