[][src]Module kul_core::text::chunk::premade

Implementations provided for ready use.

Structs

PosStr

A TextChunk implementation for borrowed string slices (&str) that knows what position in its original source string it is at. This is useful for zero-copy parsing of in-memory UTF-8 strings.

PosStrIter

A [chunk::SourceStream] (and Iterator) of the characters, and their positions, of the text chunk that a PosStr represents.

StrPos

A SourcePosition type for character or slice values from text sources that are entire str strings where we can know the original source and the relative position.