Function parse_style_word_spacing

Source
pub fn parse_style_word_spacing<'a>(
    input: &'a str,
) -> Result<StyleWordSpacing, PixelParseError<'a>>
Expand description

Parses a StyleWordSpacing attribute from a &str

ยงExample

assert_eq!(parse_style_word_spacing("5px"), Ok(StyleWordSpacing(PixelValue::px(5.0))));