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.
Sourcefn write_attribute_name(self, w: &mut impl Write) -> Result
fn write_attribute_name(self, w: &mut impl Write) -> Result
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.