Skip to main content

text

Function text 

Source
pub fn text(content: impl Into<String>) -> Text
Expand description

Shorthand: a text widget. text("Hello") = Text::new("Hello").