Struct cursive::views::TextContentRef [−][src]
pub struct TextContentRef { /* fields omitted */ }
Expand description
A reference to the text content.
This can be deref’ed into a StyledString
.
This keeps the content locked. Do not store this!
Methods from Deref<Target = SpannedString<Style>>
Iterates on the resolved spans.
Returns a reference to the indexed spans.
Returns a reference to the source string.
This is the non-parsed string.
Trait Implementations
type Target = SpannedString<Style>
type Target = SpannedString<Style>
The resulting type after dereferencing.
Dereferences the value.