Skip to main content

Module formatter

Module formatter 

Source
Expand description

Trait and implementations for formatting CSS properties back into strings.

This module defines FormatAsCssValue (zero-alloc, fmt::Formatter-based) and re-exports PrintAsCssValue (from css.rs, returns String). PrintAsCssValue impls for border, padding, margin, and gap types live here.

Re-exports§

pub use crate::css::PrintAsCssValue;

Traits§

FormatAsCssValue
Zero-allocation CSS value formatting trait using fmt::Formatter.