Enum scraper_main::Node [−][src]
pub enum Node {
Root(Rc<Node>),
DocType(Weak<Node>),
Element(Weak<Node>),
Attribute(Attribute),
Text(Weak<Node>),
Comment(Weak<Node>),
ProcessingInstruction(Weak<Node>),
Namespace(Weak<Node>),
}Variants
Root(Rc<Node>)DocType(Weak<Node>)Element(Weak<Node>)Attribute(Attribute)Text(Weak<Node>)Comment(Weak<Node>)ProcessingInstruction(Weak<Node>)Namespace(Weak<Node>)Implementations
impl Node[src]
impl Node[src]pub fn enum_name(&self) -> String[src]
pub fn is_root(&self) -> bool[src]
pub fn is_namespace(&self) -> bool[src]
pub fn is_element(&self) -> bool[src]
pub fn is_attribute(&self) -> bool[src]
pub fn is_text(&self) -> bool[src]
pub fn is_comment(&self) -> bool[src]
pub fn is_processing_instruction(&self) -> bool[src]
pub fn value(&self) -> Result<Value, Error>[src]
pub fn as_simple_html(&self) -> Option<String>[src]
pub fn attribute(&self) -> Option<&Attribute>[src]
pub fn parent(&self) -> Option<Node>[src]
pub fn children(&self) -> Vec<Node, Global>[src]
pub fn name(&self) -> Option<QualName>[src]
pub fn target(&self) -> Option<String>[src]
pub fn prefix(&self) -> String[src]
pub fn inner_weak(&self) -> Option<&Weak<Node>>[src]
pub fn evaluate_from<S>(
&self,
search: S,
doc: &Document
) -> Result<Value, Error> where
S: Into<String>, [src]
&self,
search: S,
doc: &Document
) -> Result<Value, Error> where
S: Into<String>,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Node
impl !RefUnwindSafe for Nodeimpl !UnwindSafe for Node
impl !UnwindSafe for Node