Struct scraper_main::Document [−][src]
pub struct Document {
pub root: Node,
}Fields
root: NodeImplementations
impl Document[src]
impl Document[src]pub fn new(root: Node) -> Document[src]
pub fn evaluate<S>(&self, search: S) -> Result<Value, Error> where
S: Into<String>, [src]
S: Into<String>,
pub fn evaluate_from<S>(&self, search: S, node: Node) -> Result<Value, Error> where
S: Into<String>, [src]
S: Into<String>,
pub fn evaluate_steps(
&self,
steps: Vec<ExprToken, Global>
) -> Result<Value, Error>[src]
&self,
steps: Vec<ExprToken, Global>
) -> Result<Value, Error>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Document
impl !RefUnwindSafe for Documentimpl !UnwindSafe for Document
impl !UnwindSafe for Document