Skip to main content

Module paragraph

Module paragraph 

Source
Expand description

paragraph() makes it possible to render rich text with different styles. Its a more customizable API than crate::elements::label.

Structs§

Paragraph
ParagraphElement
ParagraphHolder
A shared slot that receives the laid-out paragraph, so callers can hit-test and measure text after layout. Pass it to a paragraph() with Paragraph::holder.
ParagraphHolderInner
Span
A run of text with its own style, used to build a paragraph().

Enums§

ParagraphContent
Marks the order of a Paragraph’s content.

Functions§

paragraph
paragraph() makes it possible to render rich text with different styles. Its a more customizable API than crate::elements::label.