[][src]Function azul_css_parser::parse_layout_margin_bottom

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

Parses a LayoutMarginBottom attribute from a &str

Example

assert_eq!(parse_layout_margin_bottom("5px"), Ok(LayoutMarginBottom(PixelValue::px(5.0))));