pub fn parse_layout_margin_top( input: &str, ) -> Result<LayoutMarginTop, CssPixelValueParseError<'_>>
Parses a LayoutMarginTop attribute from a &str
LayoutMarginTop
&str
assert_eq!(parse_layout_margin_top("5px"), Ok(LayoutMarginTop { inner: PixelValue::px(5.0) }));
Returns an error if input is not a valid CSS value for this property.
input