#[derive(Nom)]
{
// Attributes available to this derive:
#[nom]
}
Expand description
The Nom derive automatically generates a parse function for the structure
using nom parsers. It will try to infer parsers for primitive of known
types, but also allows you to specify parsers using custom attributes.
Deriving parsers supports struct and enum types.
The documentation of the Nom custom derive attribute and all possible options
can be found in the nom-derive documentation.
Many examples are provided, and more can be found in the project tests.