pub trait AttributeValue {
// Required method
fn write_attribute_value(self, w: &mut impl Write) -> Result;
// Provided method
fn is_unit(&self) -> bool { ... }
}
Expand description
Represents a value of an attribute.
Required Methods§
Sourcefn write_attribute_value(self, w: &mut impl Write) -> Result
fn write_attribute_value(self, w: &mut impl Write) -> Result
Provided Methods§
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.