pub trait RenderCss {
// Required method
fn render(&self, f: &mut Formatter<'_>) -> Result;
// Provided method
fn as_css_string(&self) -> String { ... }
}Required Methods§
Provided Methods§
Sourcefn as_css_string(&self) -> String
fn as_css_string(&self) -> String
Render self as a valid CSS String, minified (with
non-interpretation-impacting whitespace removed).