pub trait FromHtml: Sized {
type Args;
type Error: Error;
fn from_html<N>(source: &N, args: &Self::Args) -> Result<Self, Self::Error>
where
N: HtmlNode;
}Expand description
A converter from single HTML node to single struct
pub trait FromHtml: Sized {
type Args;
type Error: Error;
fn from_html<N>(source: &N, args: &Self::Args) -> Result<Self, Self::Error>
where
N: HtmlNode;
}A converter from single HTML node to single struct