Struct xrust::qname::QualifiedName
source · pub struct QualifiedName { /* private fields */ }
Implementations§
source§impl QualifiedName
impl QualifiedName
pub fn new( nsuri: Option<String>, prefix: Option<String>, localname: String ) -> QualifiedName
pub fn as_ref(&self) -> &Self
pub fn get_nsuri(&self) -> Option<String>
pub fn get_nsuri_ref(&self) -> Option<&str>
pub fn get_prefix(&self) -> Option<String>
pub fn get_localname(&self) -> String
Trait Implementations§
source§impl Clone for QualifiedName
impl Clone for QualifiedName
source§fn clone(&self) -> QualifiedName
fn clone(&self) -> QualifiedName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QualifiedName
impl Debug for QualifiedName
source§impl Display for QualifiedName
impl Display for QualifiedName
source§impl Hash for QualifiedName
impl Hash for QualifiedName
source§impl PartialEq for QualifiedName
impl PartialEq for QualifiedName
source§fn eq(&self, other: &QualifiedName) -> bool
fn eq(&self, other: &QualifiedName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for QualifiedName
impl TryFrom<&str> for QualifiedName
Parse a string to create a QualifiedName. QualifiedName ::= (prefix “:”)? local-name
impl Eq for QualifiedName
Auto Trait Implementations§
impl RefUnwindSafe for QualifiedName
impl Send for QualifiedName
impl Sync for QualifiedName
impl Unpin for QualifiedName
impl UnwindSafe for QualifiedName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more