Module nom_grapheme_clusters::source
source · Expand description
Exports source code object and related items.
Structs
- Iterator over the newline indices of a source. Indices are in term of segments, not bytes nor characters. Double-ended and sized.
- Iterator over the segment indices of a source. Indices are in terms of bytes. Double-ended and sized.
- A source code object, such as read from a file. Cloning this object results in simply incrementing a reference counter, thus sharing the source code object.
Traits
- An index on a source code.