Expand description
TreeMatcher
can be used from a build script to generate a function
that accepts bytes as an input and returns a mapped value if it finds a
given byte sequence at the start of the input.
See TreeMatcher
for example usage.
§Minimum supported Rust version
Currently the minimum supported Rust version (MSRV) is 1.60.
Structs§
- Build a function with nested match statements to quickly map byte sequences to values.
- A node in a tree matcher’s simple finite-state automaton.
Enums§
- What kind of input the matcher should accept: a slice or an iterator.