Skip to main content

RenderString

Trait RenderString 

Source
pub trait RenderString: HasFont {
    // Required method
    fn text(self: Pin<&Self>) -> PlainOrStyledText;
}
Expand description

Trait for an item that represents an string towards the renderer

Required Methods§

Source

fn text(self: Pin<&Self>) -> PlainOrStyledText

Implementations on Foreign Types§

Source§

impl RenderString for (SharedString, Brush)

Source§

fn text(self: Pin<&Self>) -> PlainOrStyledText

Implementors§