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§

source

fn is_valid_attribute_name(&self) -> bool

Tells whether the attribute name is valid.

source

fn write_attribute_name(self, w: &mut impl Write) -> Result

Writes the attribute name to w.

Arguments
  • w - The writer to write to.

Implementations on Foreign Types§

source§

impl AttributeName for &str

source§

impl AttributeName for &&str

source§

impl AttributeName for String

source§

impl AttributeName for &String

Implementors§