pub trait Attribute {
type Text<'a>: 'a + AsRef<str> + Into<String> + ToString
where Self: 'a;
// Required method
fn text(&self) -> Option<Self::Text<'_>>;
}
Expand description
A type that can be used as the value of an attribute.
See module-level documentation for more details.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.