Struct xml5ever::ExpandedName
source · 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>
source§fn eq(&self, other: &ExpandedName<'a>) -> bool
fn eq(&self, other: &ExpandedName<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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