Struct sxd_document::QName
[−]
[src]
pub struct QName<'s> { /* fields omitted */ }
A namespace-qualified name. This represents the name of an element or attribute after the prefix has been mapped to a specific namespace.
Methods
impl<'s> QName<'s>
[src]
fn new(local_part: &'s str) -> QName<'s>
[src]
Create a QName
without a namespace
fn with_namespace_uri(
namespace_uri: Option<&'s str>,
local_part: &'s str
) -> QName<'s>
[src]
namespace_uri: Option<&'s str>,
local_part: &'s str
) -> QName<'s>
Create a QName
with an optional namespace
fn namespace_uri(&self) -> Option<&'s str>
[src]
fn local_part(&self) -> &'s str
[src]
Trait Implementations
impl<'s> Debug for QName<'s>
[src]
impl<'s> Copy for QName<'s>
[src]
impl<'s> Clone for QName<'s>
[src]
fn clone(&self) -> QName<'s>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> PartialEq for QName<'s>
[src]
fn eq(&self, __arg_0: &QName<'s>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &QName<'s>) -> bool
[src]
This method tests for !=
.