Function parse_style_border_left_width

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

Parses a StyleBorderLeftWidth attribute from a &str

ยงExample

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