Module cursive::utils::span
[−]
[src]
Work with spans of text.
This module defines various structs describing a span of text from a larger string.
Structs
IndexedSpan |
An indexed span with an associated attribute. |
Span |
A resolved span borrowing its source string. |
SpannedStr |
The immutable, borrowed equivalent of |
SpannedString |
A string with associated spans. |
SpannedTextRef |
A reference to another |
Enums
IndexedCow |
A span of text that can be either owned, or indexed in another String. |
Traits
SpannedText |
Describes an object that appears like a |