Attribute Macro parce::prelude::parser [−][src]
#[parser]
Expand description
Generates an implementation of the Parseable and FromStr traits for an enum.
Must be applied to an enum with patterns as the discriminants. Requires name of lexer to be passed as argument.