Module ropey::iter

source ·
Expand description

Iterators over a Rope’s data.

All iterators here can also be used with RopeSlice’s. When used with a RopeSlice, they iterate over only the data that the RopeSlice refers to. For the line and chunk, iterators, the data of the first and last yielded item will be truncated to match the RopeSlice.

Structs

An iterator over a Rope’s bytes.
An iterator over a Rope’s chars.
An iterator over a Rope’s contiguous str chunks.
An iterator over a Rope’s lines.