pub trait CssWriter {
// Required methods
fn write_space(&mut self) -> Result<(), Error>;
fn write_newline(&mut self) -> Result<(), Error>;
fn write_raw(&mut self, span: Option<Span>, text: &str) -> Result<(), Error>;
fn write_str(&mut self, span: Span, s: &str) -> Result<(), Error>;
fn increase_indent(&mut self);
fn decrease_indent(&mut self);
}
Available on crate features
__css
and css_codegen
only.