Trait script::dom::attr::AttrHelpersForLayout

source ·
pub trait AttrHelpersForLayout<'dom> {
    // Required methods
    fn value(self) -> &'dom AttrValue;
    fn as_str(&self) -> &'dom str;
    fn to_tokens(self) -> Option<&'dom [Atom]>;
    fn local_name(self) -> &'dom LocalName;
    fn namespace(self) -> &'dom Namespace;
}

Required Methods§

source

fn value(self) -> &'dom AttrValue

source

fn as_str(&self) -> &'dom str

source

fn to_tokens(self) -> Option<&'dom [Atom]>

source

fn local_name(self) -> &'dom LocalName

source

fn namespace(self) -> &'dom Namespace

Implementors§

source§

impl<'dom> AttrHelpersForLayout<'dom> for LayoutDom<'dom, Attr>