Crate rusticata_macros [−] [src]
Rusticata-macros
Helper macros for the rusticata project.
Reexports
pub use macros::*; |
pub use gen::*; |
Modules
gen |
Generator combinator, based on nom's syntax. |
macros |
Helper macros |
Macros
do_gen |
Applies sub-generators in a sequence. |
error_if |
Helper macro for nom parsers: raise error if the condition is false |
gen_adjust_length_u16 |
Write the length taken from ( |
gen_align |
|
gen_at_offset |
|
gen_at_rel_offset |
|
gen_be_u16 |
|
gen_be_u24 |
|
gen_be_u32 |
|
gen_be_u8 |
|
gen_call |
Used to wrap common expressions and function as macros |
gen_cond |
|
gen_copy |
|
gen_if_else |
|
gen_length_slice | |
gen_many |
|
gen_many_ref |
|
gen_skip |
|
gen_slice |
|
parse_hex_to_u64 |
Read a slice as a big-endian value. |