Enum sxd_xpath::nodeset::Node
[−]
[src]
pub enum Node<'d> {
Root(Root<'d>),
Element(Element<'d>),
Attribute(Attribute<'d>),
Text(Text<'d>),
Comment(Comment<'d>),
Namespace(Namespace<'d>),
ProcessingInstruction(ProcessingInstruction<'d>),
}Variants
Root(Root<'d>)Element(Element<'d>)Attribute(Attribute<'d>)Text(Text<'d>)Comment(Comment<'d>)Namespace(Namespace<'d>)ProcessingInstruction(ProcessingInstruction<'d>)Methods
impl<'d> Node<'d>[src]
impl<'d> Node<'d>[src]
impl<'d> Node<'d>[src]
impl<'d> Node<'d>[src]
impl<'d> Node<'d>[src]
impl<'d> Node<'d>[src]
fn processing_instruction(self) -> Option<ProcessingInstruction<'d>>
impl<'d> Node<'d>[src]
fn document(&self) -> Document<'d>
fn prefixed_name(&self) -> Option<String>
fn expanded_name(&self) -> Option<QName<'d>>
fn parent(&self) -> Option<Node<'d>>
fn children(&self) -> Vec<Node<'d>>
fn preceding_siblings(&self) -> Vec<Node<'d>>
fn following_siblings(&self) -> Vec<Node<'d>>
fn string_value(&self) -> String
Trait Implementations
impl<'d> Copy for Node<'d>[src]
impl<'d> Clone for Node<'d>[src]
fn clone(&self) -> Node<'d>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'d> PartialEq for Node<'d>[src]
fn eq(&self, __arg_0: &Node<'d>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Node<'d>) -> bool
This method tests for !=.
impl<'d> Eq for Node<'d>[src]
impl<'d> Hash for Node<'d>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.