[][src]Function azul_css_parser::parse_layout_min_height

pub fn parse_layout_min_height<'a>(
    input: &'a str
) -> Result<LayoutMinHeight, PixelParseError<'a>>

Parses a LayoutMinHeight attribute from a &str

Example

assert_eq!(parse_layout_min_height("5px"), Ok(LayoutMinHeight(PixelValue::px(5.0))));