[−][src]Type Definition kul_core::premade::inmem::Text
type Text<'input, 'alloc, Extra = ()> = TextDatumList<'alloc, PosStr<'input>, Extra>;
Chosen so that the referenced parts of an input string are zero-copy, and so
that char
and byte positions are tracked (relative to the input &str
),
and so that, when chunks are broken around escape characters, a Datum
list
is used to logically concatenate them.
This Text
type is a TextDatumList
of PosStr
chunks.