Function parse_style_border_bottom_width

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

Parses a StyleBorderBottomWidth attribute from a &str

ยงExample

assert_eq!(parse_style_border_bottom_width("5px"), Ok(StyleBorderBottomWidth(PixelValue::px(5.0))));