pub fn parse_layout_left<'a>(
input: &'a str,
) -> Result<LayoutLeft, PixelParseError<'a>>Expand description
Parses a LayoutLeft attribute from a &str
ยงExample
assert_eq!(parse_layout_left("5px"), Ok(LayoutLeft(PixelValue::px(5.0))));pub fn parse_layout_left<'a>(
input: &'a str,
) -> Result<LayoutLeft, PixelParseError<'a>>Parses a LayoutLeft attribute from a &str
assert_eq!(parse_layout_left("5px"), Ok(LayoutLeft(PixelValue::px(5.0))));