pub fn parse_image_fit(
ctx: &str,
name: &str,
value: &str,
) -> Result<ImageFitSpec, ParseError>Expand description
An image fit: fill, cover, contain, none, or scale-down. The
fit of an <image> and the bg-fit of a background image take the same
values.