Expand description
Traits input types have to implement to work with nom combinators
Macrosยง
- array_
impls ๐ - as_
bytes_ ๐array_ impls - impl_
fn_ ๐slice - slice_
range_ ๐impl - slice_
ranges_ ๐impl
Enumsยง
- Indicates whether a comparison was successful, an error, or if more data was needed
Staticsยง
- CHARS ๐
Traitsยง
- Helper trait for types that can be viewed as a byte slice
- Transforms common types to a char for basic token parsing
- Abstracts comparison operations
- Equivalent From implementation to avoid orphan rules in bits parsers
- Abstracts something which can extend an
Extend
. Used to build modified input slices inescaped_transform
- Look for a substring in self
- Look for a token in self
- Helper trait to show a byte slice as a hex dump
- Abstracts common iteration operations on the input type
- Abstract method to calculate the input length
- Abstracts slicing operations
- Methods to take as much input as possible until the provided function returns true for the current element.
- Useful functions to calculate the offset between slices and show a hexdump of a slice
- Used to integrate
str
โsparse()
method - Slicing operations using ranges.
- Helper trait to convert numbers to usize.
- Dummy trait used for default implementations (currently only used for
InputTakeAtPosition
andCompare
).
Functionsยง
- lowercase_
byte ๐