Expand description
§nom-derive-impl
§Overview
nom-derive is a custom derive attribute, to derive nom parsers automatically from the structure definition.
This crate is not meant to be used directly.
See nom-derive crate for documentation.
Derive Macros§
- Nom
- The
Nomderive automatically generates aparsefunction 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. - NomBE
- The
NomBEacts like theNomattribute, but sets the endianness to big-endian for the current object. This can be overriden locally at the field-level. - NomLE
- The
NomLEacts like theNomattribute, but sets the endianness to little-endian for the current object. This can be overriden locally at the field-level.