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