pub trait HtmlNode: Sized + Clone {
type Selector: CssSelector;
fn select(&self, selector: &Self::Selector) -> Vec<Self, Global>;
fn text_contents(&self) -> String;
fn attribute<S>(&self, attr: S) -> Option<&str>
where
S: AsRef<str>;
}Expand description
HTML Node