Skip to main content

Module rich_text

Module rich_text 

Source

Structsยง

RichText
Rich text component: renders multiple styled spans on the same line(s).
RichTextLayout
Word-wrapped layout for a RichText, shared by crate::intrinsic::RichTextIntrinsic and the painter so the box taffy reserves always matches what gets drawn.
RichTextLine
One wrapped line of a RichText layout.
RichTextSpan
A single styled span within a rich_text component.
RichTextToken
One word-wrapped token ready to be measured or drawn.