pub trait HasAttributes {
    // Required method
    fn push_attribute(
        self,
        name: &'static str,
        ns: Option<&'static str>,
        attr: impl IntoAttributeValue,
        volatile: bool
    ) -> Self;
}
Expand description

A trait for anything that has a dynamic list of attributes

Required Methods§

fn push_attribute( self, name: &'static str, ns: Option<&'static str>, attr: impl IntoAttributeValue, volatile: bool ) -> Self

Push an attribute onto the list of attributes

Object Safety§

This trait is not object safe.

Implementors§