Skip to main content

Module text

Module text 

Available on crate feature advanced only.
Expand description

Draw and interact with text.

Modules§

editor
Edit text.
highlighter
Highlight text.
paragraph
Draw paragraphs.

Structs§

Highlight
A text highlight.
Span
A span of text.
Text
A paragraph.

Enums§

Alignment
The alignment of some text.
Difference
The difference detected in some text.
Hit
The result of hit testing on text.
LineHeight
The height of a line of text in a paragraph.
Shaping
The shaping strategy of some text.
Wrapping
The wrapping strategy of some text.

Traits§

Editor
A component that can be used by widgets to edit multi-line text.
Highlighter
A type capable of highlighting text.
IntoFragment
A trait for converting a value to some text Fragment.
Paragraph
A text paragraph.
Renderer
A renderer capable of measuring and drawing Text.

Type Aliases§

Fragment
A fragment of Text.