[][src]Trait kul_core::TextChunk

pub trait TextChunk: TextBase {
    type CharsSrcStrm: SourceStream<Self>;
    fn src_strm(&self) -> Self::CharsSrcStrm;
}

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

Associated Types

type CharsSrcStrm: SourceStream<Self>

Our chunk::SourceStream type.

Loading content...

Required methods

fn src_strm(&self) -> Self::CharsSrcStrm

Construct a new iterator, which is also a chunk::SourceStream, that yields the character sequence, and their positions, of the given self chunk.

Loading content...

Implementors

impl<'s> TextChunk for PosStr<'s>[src]

type CharsSrcStrm = PosStrIter<'s>

Loading content...