Struct sxd_document::QName
[−]
[src]
pub struct QName<'s> {
// some 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>
Create a QName without a namespace
fn with_namespace_uri(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>
fn local_part(&self) -> &'s str
Trait Implementations
impl<'s> PartialEq for QName<'s>[src]
fn eq(&self, __arg_0: &QName<'s>) -> bool
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
This method tests for !=.
impl<'s> Clone for QName<'s>[src]
fn clone(&self) -> QName<'s>
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