pub struct ExpandedName<'a> {
pub ns: &'a Atom<NamespaceStaticSet>,
pub local: &'a Atom<LocalNameStaticSet>,
}
Expand description
An expanded name, containing the tag and the namespace.
Fields§
§ns: &'a Atom<NamespaceStaticSet>
§local: &'a Atom<LocalNameStaticSet>
Trait Implementations§
Source§impl<'a> Clone for ExpandedName<'a>
impl<'a> Clone for ExpandedName<'a>
Source§fn clone(&self) -> ExpandedName<'a>
fn clone(&self) -> ExpandedName<'a>
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<'a> Debug for ExpandedName<'a>
impl<'a> Debug for ExpandedName<'a>
Source§impl<'a> ElemName for ExpandedName<'a>
impl<'a> ElemName for ExpandedName<'a>
fn ns(&self) -> &Atom<NamespaceStaticSet>
fn local_name(&self) -> &Atom<LocalNameStaticSet>
fn expanded(&self) -> ExpandedName<'_>
Source§impl<'a> Hash for ExpandedName<'a>
impl<'a> Hash for ExpandedName<'a>
Source§impl<'a> PartialEq for ExpandedName<'a>
impl<'a> PartialEq for ExpandedName<'a>
impl<'a> Copy for ExpandedName<'a>
impl<'a> Eq for ExpandedName<'a>
impl<'a> StructuralPartialEq for ExpandedName<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExpandedName<'a>
impl<'a> RefUnwindSafe for ExpandedName<'a>
impl<'a> Send for ExpandedName<'a>
impl<'a> Sync for ExpandedName<'a>
impl<'a> Unpin for ExpandedName<'a>
impl<'a> UnwindSafe for ExpandedName<'a>
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