Type Alias ShapeOutside

Source
pub type ShapeOutside = GenericShapeOutside<BasicShape, Image>;
Expand description

A specified shape-outside value.

Aliased Type§

#[repr(u8)]
pub enum ShapeOutside { None, Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>), Shape(Box<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, BasicShapeRect>>, ShapeBox), Box(ShapeBox), }

Variants§

Trait Implementations§

Source§

impl Parse for ShapeOutside

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more