pub fn rich_text<Msg: Clone>(content: impl Into<String>) -> RichText<Msg>
Free-function shorthand for RichText::new.
RichText::new