Skip to main content

text

Function text 

Source
pub fn text<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, Theme, Renderer>
Expand description

Creates a new Text widget with the provided content.