Struct markup5ever::interface::ExpandedName
source · pub struct ExpandedName<'a> {
pub ns: &'a Namespace,
pub local: &'a LocalName,
}
Expand description
An expanded name, containing the tag and the namespace.
Fields§
§ns: &'a Namespace
§local: &'a LocalName
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> Hash for ExpandedName<'a>
impl<'a> Hash for ExpandedName<'a>
source§impl<'a, 'b> PartialEq<ExpandedName<'a>> for ExpandedName<'b>
impl<'a, 'b> PartialEq<ExpandedName<'a>> for ExpandedName<'b>
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 ==
.