pub fn rich_text<'a, Link, Theme, Renderer>( spans: impl AsRef<[Span<'a, Link, <Renderer as Renderer>::Font>]> + 'a, ) -> Rich<'a, Link, Theme, Renderer>where Link: Clone + 'static, Theme: Catalog + 'a, Renderer: Renderer, <Renderer as Renderer>::Font: 'a,
Creates a new Rich text widget with the provided spans.
Rich