pub trait PrintAsCssValue {
// Required method
fn print_as_css_value(&self) -> String;
}Expand description
Trait for types that can format themselves as a CSS property value string.
Required Methods§
fn print_as_css_value(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".