Expand description
Draw and interact with text.
Structs§
- Rich
 - A bunch of 
Richtext. - Span
 - A span of text.
 - State
 - The internal state of a 
Textwidget. - Style
 - The appearance of some text.
 
Enums§
- Line
Height  - 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§
- Catalog
 - The theme catalog of a 
Text. - Highlighter
 - A type capable of highlighting text.
 - Into
Fragment  - A trait for converting a value to some text 
Fragment. 
Functions§
- base
 - Text with the default base color.
 - danger
 - Text conveying some negative information, like an error.
 - default
 - The default text styling; color is inherited.
 - draw
 - Draws text using the same logic as the 
Textwidget. - layout
 - Produces the 
layout::Nodeof aTextwidget. - primary
 - Text conveying some important information, like an action.
 - secondary
 - Text conveying some secondary information, like a footnote.
 - success
 - Text conveying some positive information, like a successful event.