pub trait ElemName: Debug {
// Required methods
fn ns(&self) -> &Namespace;
fn local_name(&self) -> &LocalName;
// Provided method
fn expanded(&self) -> ExpandedName<'_> { ... }
}
Expand description
An abstraction over any type that can represent an element’s local name and namespace.