Module text
Expand description
Draw and interact with text.
Structs§
- A bunch of
Rich
text. - A span of text.
- The internal state of a
Text
widget. - The appearance of some text.
Enums§
- The height of a line of text in a paragraph.
- The shaping strategy of some text.
- The wrapping strategy of some text.
Traits§
- The theme catalog of a
Text
. - A type capable of highlighting text.
- A trait for converting a value to some text
Fragment
.
Functions§
- Text with the default base color.
- Text conveying some negative information, like an error.
- The default text styling; color is inherited.
- Draws text using the same logic as the
Text
widget. - Produces the
layout::Node
of aText
widget. - Text conveying some important information, like an action.
- Text conveying some secondary information, like a footnote.
- Text conveying some positive information, like a successful event.