Function parse_layout_margin_left

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

Parses a LayoutMarginLeft attribute from a &str

ยงExample

assert_eq!(parse_layout_margin_left("5px"), Ok(LayoutMarginLeft(PixelValue::px(5.0))));