[][src]Trait hobo::SetText

pub trait SetText<T>: RawElement<RawElementType = T> where
    T: AsRef<Element> + AsRef<HtmlElement>, 
{ fn set_text<'a>(&self, x: impl Into<Cow<'a, str>>) { ... }
fn text<'a>(self, x: impl Into<Cow<'a, str>>) -> Self
    where
        Self: Sized
, { ... } }

Trait for hobo components with textual contents

Provided methods

fn set_text<'a>(&self, x: impl Into<Cow<'a, str>>)

fn text<'a>(self, x: impl Into<Cow<'a, str>>) -> Self where
    Self: Sized

Loading content...

Implementors

impl<T, E> SetText<E> for T where
    T: RawElement<RawElementType = E>,
    E: AsRef<Element> + AsRef<HtmlElement>, 
[src]

Loading content...