Function parse_layout_min_height

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

Parses a LayoutMinHeight attribute from a &str

ยงExample

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