pub trait TextNode<'tn>: Display {
    // Required method
    fn text_node<T>(bytes: T) -> Self
       where T: Into<Cow<'tn, [u8]>>;
}

Required Methods§

source

fn text_node<T>(bytes: T) -> Selfwhere T: Into<Cow<'tn, [u8]>>,

Implementors§

source§

impl<'a> TextNode<'a> for Utf8TextNode<'a>