pub trait NodeStateAttributes {
// Required methods
fn layout_attributes(&self) -> Vec<(&str, AttributeType<'_>)>;
fn text_style_attributes(&self) -> Vec<(&str, AttributeType<'_>)>;
fn style_attributes(&self) -> Vec<(&str, AttributeType<'_>)>;
}Required Methods§
fn layout_attributes(&self) -> Vec<(&str, AttributeType<'_>)>
fn text_style_attributes(&self) -> Vec<(&str, AttributeType<'_>)>
fn style_attributes(&self) -> Vec<(&str, AttributeType<'_>)>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".