Trait ansi_to_tui::IntoText
source · pub trait IntoText {
// Required methods
fn into_text(&self) -> Result<Text<'static>, Error>;
fn to_text(&self) -> Result<Text<'_>, Error>;
}
Expand description
IntoText will convert any type that has a AsRef<u8> to a Text.