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))));pub fn parse_layout_right<'a>(
input: &'a str,
) -> Result<LayoutRight, PixelParseError<'a>>Parses a LayoutRight attribute from a &str
assert_eq!(parse_layout_right("5px"), Ok(LayoutRight(PixelValue::px(5.0))));