Skip to main content

parse_layout_row_gap

Function parse_layout_row_gap 

Source
pub fn parse_layout_row_gap<'a>(
    input: &'a str,
) -> Result<LayoutRowGap, CssPixelValueParseError<'a>>
Expand description

Parses a LayoutRowGap attribute from a &str

ยงExample

assert_eq!(parse_layout_row_gap("5px"), Ok(LayoutRowGap { inner: PixelValue::px(5.0) }));