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
Fields
§
path: Box<GenericOffsetPathFunction<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, BasicShapeRect>, GenericRayFunction<Angle, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>>, CssUrl>>
CoordBox(CoordBox)
Only
None
None value.
Trait Implementations§
source§impl Parse for OffsetPath
impl Parse for OffsetPath
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