Trait write_html::AttributeName
source · pub trait AttributeName {
// Required methods
fn is_valid_attribute_name(&self) -> bool;
fn write_attribute_name(self, w: &mut impl Write) -> Result;
}
Expand description
Represents a name of an attribute.
Required Methods§
sourcefn is_valid_attribute_name(&self) -> bool
fn is_valid_attribute_name(&self) -> bool
Tells whether the attribute name is valid.