[][src]Function azul_css_parser::parse_style_border_left_width

pub fn parse_style_border_left_width<'a>(
    input: &'a str
) -> Result<StyleBorderLeftWidth, PixelParseError<'a>>

Parses a StyleBorderLeftWidth attribute from a &str

Example

assert_eq!(parse_style_border_left_width("5px"), Ok(StyleBorderLeftWidth(PixelValue::px(5.0))));