Function style::values::serialize_specified_dimension

source ยท
pub fn serialize_specified_dimension<W>(
    v: f32,
    unit: &str,
    was_calc: bool,
    dest: &mut CssWriter<'_, W>,
) -> Result
where W: Write,
Expand description

Serialize a specified dimension with unit, calc, and NaN/infinity handling (if enabled)