pub trait Styled {
// Required method
fn style_config(&self) -> &CssStyle;
}Expand description
Object-safe trait for components that carry a CssStyle.
Used by the box-tree builder to read styling.
Required Methods§
fn style_config(&self) -> &CssStyle
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".