Function parse_layout_right

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

Parses a LayoutRight attribute from a &str

ยงExample

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