Type Alias style::values::specified::motion::OffsetPath

source ·
pub type OffsetPath = GenericOffsetPath<OffsetPathFunction>;
Expand description

The specified value of offset-path.

Aliased Type§

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