Trait html5ever::interface::tree_builder::ElemName

source ·
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.

Required Methods§

Provided Methods§

source

fn expanded(&self) -> ExpandedName<'_>

Implementations on Foreign Types§

source§

impl<'a> ElemName for Ref<'a, ExpandedName<'a>>

source§

impl<'a> ElemName for Ref<'a, QualName>

Implementors§

source§

impl<'a> ElemName for &'a QualName

source§

impl<'a> ElemName for ExpandedName<'a>