IntoTextComponent

Trait IntoTextComponent 

Source
pub trait IntoTextComponent<'a> {
    // Required methods
    fn into_text_component(self) -> TextComponent;
    fn into_cow_text_component(self) -> Cow<'a, TextComponent>;
}

Required Methods§

Implementors§

Source§

impl<'a, T> IntoTextComponent<'a> for T
where T: IntoText<'a>,