[][src]Function azul_css_parser::parse_layout_right

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

Parses a LayoutRight attribute from a &str

Example

assert_eq!(parse_layout_right("5px"), Ok(LayoutRight(PixelValue::px(5.0))));