Skip to main content

parse_layout_margin_bottom

Function parse_layout_margin_bottom 

Source
pub fn parse_layout_margin_bottom<'a>(
    input: &'a str,
) -> Result<LayoutMarginBottom, CssPixelValueParseError<'a>>
Expand description

Parses a LayoutMarginBottom attribute from a &str

ยงExample

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