Crate nom_derive_impl

Source
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 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.
NomBE
The NomBE acts like the Nom attribute, but sets the endianness to big-endian for the current object. This can be overriden locally at the field-level.
NomLE
The NomLE acts like the Nom attribute, but sets the endianness to little-endian for the current object. This can be overriden locally at the field-level.