Enum tui::widgets::Text [−][src]
Variants
Raw(Cow<'b, str>)
Styled(Cow<'b, str>, Style)
Methods
impl<'b> Text<'b>
[src]
impl<'b> Text<'b>
pub fn raw<D: Into<Cow<'b, str>>>(data: D) -> Text<'b>
[src]
pub fn raw<D: Into<Cow<'b, str>>>(data: D) -> Text<'b>
pub fn styled<D: Into<Cow<'b, str>>>(data: D, style: Style) -> Text<'b>
[src]
pub fn styled<D: Into<Cow<'b, str>>>(data: D, style: Style) -> Text<'b>