Skip to main content

Module text

Module text 

Source
Expand description

Draw and interact with text.

Re-exports§

pub use editor::Editor;
pub use highlighter::Highlighter;
pub use input::Input;
pub use paragraph::Paragraph;
pub use parser::Parser;

Modules§

editor
Edit text.
highlighter
Highlight text.
input
paragraph
Draw paragraphs.
parser
Parse text.

Structs§

Highlight
A text highlight.
Hit
The result of hit testing on text.
Position
A specific position in some Text.
Span
A span of text.
Text
A paragraph.

Enums§

Alignment
The alignment of some text.
Difference
The difference detected in some text.
Ellipsis
The ellipsis strategy of some text.
LineHeight
The height of a line of text in a paragraph.
Shaping
The shaping strategy of some text.
Target
The granularity of a text selection.
Wrapping
The wrapping strategy of some text.

Traits§

IntoFragment
A trait for converting a value to some text Fragment.
Renderer
A renderer capable of measuring and drawing Text.

Type Aliases§

Fragment
A fragment of Text.