Module literal

Module literal 

Source
Available on (crate features syntax-glob or syntax-ev or syntax-regex) and crate feature syntax-regex only.

Structs§

Extractor
Extracts prefix or suffix literal sequences from Hir expressions.
Literal
A single literal extracted from an Hir expression.
Seq
A sequence of literals.

Enums§

ExtractKind
The kind of literals to extract from an Hir expression.

Functions§

extract_first_byte
rank
Returns the “rank” of the given byte.