[−][src]Function azul_css_parser::parse_layout_max_height
pub fn parse_layout_max_height<'a>(
input: &'a str
) -> Result<LayoutMaxHeight, PixelParseError<'a>>
Parses a LayoutMaxHeight
attribute from a &str
Example
assert_eq!(parse_layout_max_height("5px"), Ok(LayoutMaxHeight(PixelValue::px(5.0))));