pub trait StyleAttribute<S>where
S: IntoStyle,{
type Output;
// Required method
fn style(self, value: S) -> Self::Output;
}Expand description
Adds an attribute that modifies the CSS styles.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".