Type Alias style::values::specified::basic_shape::ShapeOutside
source · pub type ShapeOutside = GenericShapeOutside<BasicShape, Image>;
Expand description
A specified shape-outside
value.
Aliased Type§
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§
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)
Trait Implementations§
source§impl Parse for ShapeOutside
impl Parse for ShapeOutside
source§fn parse<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more