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