[][src]Function azul_css_parser::parse_layout_margin_right

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

Parses a LayoutMarginRight attribute from a &str

Example

assert_eq!(parse_layout_margin_right("5px"), Ok(LayoutMarginRight(PixelValue::px(5.0))));