Struct sxd_xpath::nodeset::Namespace
[−]
[src]
pub struct Namespace<'d> {
pub parent: Element<'d>,
pub prefix: &'d str,
pub uri: &'d str,
}Fields
parent: Element<'d>
prefix: &'d str
uri: &'d str
Methods
impl<'d> Namespace<'d>[src]
fn document(&self) -> Document<'d>
fn parent(&self) -> Element<'d>
fn prefix(&self) -> &'d str
fn uri(&self) -> &'d str
fn expanded_name(&self) -> QName<'d>
Trait Implementations
impl<'d> Copy for Namespace<'d>[src]
impl<'d> Clone for Namespace<'d>[src]
fn clone(&self) -> Namespace<'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 Namespace<'d>[src]
fn eq(&self, __arg_0: &Namespace<'d>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Namespace<'d>) -> bool
This method tests for !=.
impl<'d> Eq for Namespace<'d>[src]
impl<'d> Hash for Namespace<'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.