Skip to main content

Module printer

Module printer 

Source
Expand description

CSS serialization and source map generation.

Structs§

OriginalLocation
An original source location referenced by a generated source map mapping.
Printer
A Printer represents a destination to output serialized CSS, as used in the ToCss trait. It can wrap any destination that implements std::fmt::Write, such as a String.
PrinterOptions
Options that control how CSS is serialized to a string.
PseudoClasses
A mapping of user action pseudo classes to replace with class names.

Traits§

PrinterTrait
A printer abstraction used by CSS serialization implementations.
SourceMapcustom_sourcemap
A source map implementation that can receive generated mappings and provide input mappings for remapping.