[][src]Module kul_core::text

Traits that are our abstraction of "text".

Modules

chunk

Items related closely to the TextChunk trait.

iter

Parts for iterating the characters, and their positions, of a Text. Designed to allow the state to borrow from the Text instance so that the lifetime relates to that of Text method calls.

premade

Implementations provided for ready use.

Traits

Text

A logical sequence of characters, possibly represented as separate chunks, that can be iterated multiple times without consuming or destroying the source, and that might know its characters' positions in the source it is from.

TextBase

The basic interface common across both Texts and TextChunks. This determines the associated type of the characters' positional information; and this provides the ability to construct and check for emptiness.

TextChunk

A sequence of characters that serves as a single chunk in the underlying representation of some Text type.

TextConcat

A Text that can logically concatenate its values, optionally by using a provided DatumAllocator.

Type Definitions

Chars

The type returned by Text::chars.