Type Alias OffsetPath

Source
pub type OffsetPath = GenericOffsetPath<OffsetPathFunction>;
Expand description

The specified value of offset-path.

Aliased Type§

#[repr(C, u8)]
pub enum OffsetPath { OffsetPath { path: Box<GenericOffsetPathFunction<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, BasicShapeRect>, GenericRayFunction<Angle, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>>, CssUrl>>, coord_box: CoordBox, }, CoordBox(CoordBox), None, }

Variants§

§

OffsetPath

|| .

§

CoordBox(CoordBox)

Only . This represents that is omitted, so we use the default value, inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element.

§

None

None value.

Trait Implementations§

Source§

impl Parse for OffsetPath

Source§

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

Parse a value of this type. Read more