Module rich_text

Source
Expand description

Minimal multi-span text model rendered with the first span’s style.

Structs§

RichText
Ordered spans plus wrap and optional logical-pixel width constraints.
TextSpan
Owned text fragment paired with its intended style.

Functions§

draw_rich_text
Concatenates spans into one string using the first span’s style.