Struct sxd_xpath::nodeset::Namespace
[−]
[src]
pub struct Namespace<'d> { pub parent: Element<'d>, pub prefix: &'d str, pub uri: &'d str, }
Represents a namespace.
This differs from the DOM, which does not treat namespaces as a separate item.
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> Debug for Namespace<'d>
[src]
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 !=
.