Trait markup5ever::interface::tree_builder::ElemName

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

Required Methods§

source

fn ns(&self) -> &Namespace

source

fn local_name(&self) -> &LocalName

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>