[−][src]Function azul_css_parser::parse_style_word_spacing
pub fn parse_style_word_spacing<'a>(
input: &'a str
) -> Result<StyleWordSpacing, PixelParseError<'a>>
Parses a StyleWordSpacing
attribute from a &str
Example
assert_eq!(parse_style_word_spacing("5px"), Ok(StyleWordSpacing(PixelValue::px(5.0))));