Enum xpather::value::Node [−][src]
pub enum Node {
Root(NodeHandle),
DocType(WeakNodeHandle),
Element(WeakNodeHandle),
Attribute(Attribute),
Text(WeakNodeHandle),
Comment(WeakNodeHandle),
ProcessingInstruction(WeakNodeHandle),
Namespace(WeakNodeHandle),
}
Variants
Root(NodeHandle)
Tuple Fields
0: NodeHandle
DocType(WeakNodeHandle)
Tuple Fields
Element(WeakNodeHandle)
Tuple Fields
Attribute(Attribute)
Tuple Fields
0: Attribute
Text(WeakNodeHandle)
Tuple Fields
Comment(WeakNodeHandle)
Tuple Fields
ProcessingInstruction(WeakNodeHandle)
Tuple Fields
Namespace(WeakNodeHandle)
Tuple Fields
Implementations
pub fn evaluate_from<'a, S: Into<String>>(
&'a self,
search: S,
doc: &'a Document
) -> Result<ProduceIter<'a>>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Node
impl !UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more