html5ever::interface::tree_builder

Trait 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>