Enum parcel_css::properties::Property [−][src]
pub enum Property {
Show 322 variants
BackgroundColor(CssColor),
BackgroundImage(SmallVec<[Image; 1]>),
BackgroundPositionX(SmallVec<[HorizontalPosition; 1]>),
BackgroundPositionY(SmallVec<[VerticalPosition; 1]>),
BackgroundPosition(SmallVec<[Position; 1]>),
BackgroundSize(SmallVec<[BackgroundSize; 1]>),
BackgroundRepeat(SmallVec<[BackgroundRepeat; 1]>),
BackgroundAttachment(SmallVec<[BackgroundAttachment; 1]>),
BackgroundClip(SmallVec<[BackgroundClip; 1]>, VendorPrefix),
BackgroundOrigin(SmallVec<[BackgroundBox; 1]>),
Background(SmallVec<[Background; 1]>),
BoxShadow(SmallVec<[BoxShadow; 1]>, VendorPrefix),
Opacity(AlphaValue),
Color(CssColor),
Display(Display),
Visibility(Visibility),
Width(Size),
Height(Size),
MinWidth(MinMaxSize),
MinHeight(MinMaxSize),
MaxWidth(MinMaxSize),
MaxHeight(MinMaxSize),
BlockSize(Size),
InlineSize(Size),
MinBlockSize(MinMaxSize),
MinInlineSize(MinMaxSize),
MaxBlockSize(MinMaxSize),
MaxInlineSize(MinMaxSize),
BoxSizing(BoxSizing, VendorPrefix),
Overflow(Overflow),
OverflowX(OverflowKeyword),
OverflowY(OverflowKeyword),
TextOverflow(TextOverflow, VendorPrefix),
Position(Position),
Top(LengthPercentageOrAuto),
Bottom(LengthPercentageOrAuto),
Left(LengthPercentageOrAuto),
Right(LengthPercentageOrAuto),
InsetBlockStart(LengthPercentageOrAuto),
InsetBlockEnd(LengthPercentageOrAuto),
InsetInlineStart(LengthPercentageOrAuto),
InsetInlineEnd(LengthPercentageOrAuto),
InsetBlock(Size2D<LengthPercentageOrAuto>),
InsetInline(Size2D<LengthPercentageOrAuto>),
Inset(Rect<LengthPercentageOrAuto>),
BorderTopColor(CssColor),
BorderBottomColor(CssColor),
BorderLeftColor(CssColor),
BorderRightColor(CssColor),
BorderBlockStartColor(CssColor),
BorderBlockEndColor(CssColor),
BorderInlineStartColor(CssColor),
BorderInlineEndColor(CssColor),
BorderTopStyle(BorderStyle),
BorderBottomStyle(BorderStyle),
BorderLeftStyle(BorderStyle),
BorderRightStyle(BorderStyle),
BorderBlockStartStyle(BorderStyle),
BorderBlockEndStyle(BorderStyle),
BorderInlineStartStyle(BorderStyle),
BorderInlineEndStyle(BorderStyle),
BorderTopWidth(BorderSideWidth),
BorderBottomWidth(BorderSideWidth),
BorderLeftWidth(BorderSideWidth),
BorderRightWidth(BorderSideWidth),
BorderBlockStartWidth(BorderSideWidth),
BorderBlockEndWidth(BorderSideWidth),
BorderInlineStartWidth(BorderSideWidth),
BorderInlineEndWidth(BorderSideWidth),
BorderTopLeftRadius(Size2D<LengthPercentage>, VendorPrefix),
BorderTopRightRadius(Size2D<LengthPercentage>, VendorPrefix),
BorderBottomLeftRadius(Size2D<LengthPercentage>, VendorPrefix),
BorderBottomRightRadius(Size2D<LengthPercentage>, VendorPrefix),
BorderStartStartRadius(Size2D<LengthPercentage>),
BorderStartEndRadius(Size2D<LengthPercentage>),
BorderEndStartRadius(Size2D<LengthPercentage>),
BorderEndEndRadius(Size2D<LengthPercentage>),
BorderRadius(BorderRadius, VendorPrefix),
BorderImageSource(Image),
BorderImageOutset(Rect<LengthOrNumber>),
BorderImageRepeat(BorderImageRepeat),
BorderImageWidth(Rect<BorderImageSideWidth>),
BorderImageSlice(BorderImageSlice),
BorderImage(BorderImage, VendorPrefix),
BorderColor(Rect<CssColor>),
BorderStyle(Rect<BorderStyle>),
BorderWidth(Rect<BorderSideWidth>),
BorderBlockColor(CssColor),
BorderBlockStyle(BorderStyle),
BorderBlockWidth(BorderSideWidth),
BorderInlineColor(CssColor),
BorderInlineStyle(BorderStyle),
BorderInlineWidth(BorderSideWidth),
Border(Border),
BorderTop(Border),
BorderBottom(Border),
BorderLeft(Border),
BorderRight(Border),
BorderBlock(Border),
BorderBlockStart(Border),
BorderBlockEnd(Border),
BorderInline(Border),
BorderInlineStart(Border),
BorderInlineEnd(Border),
Outline(Outline),
OutlineColor(CssColor),
OutlineStyle(OutlineStyle),
OutlineWidth(BorderSideWidth),
FlexDirection(FlexDirection, VendorPrefix),
FlexWrap(FlexWrap, VendorPrefix),
FlexFlow(FlexFlow, VendorPrefix),
FlexGrow(f32, VendorPrefix),
FlexShrink(f32, VendorPrefix),
FlexBasis(LengthPercentageOrAuto, VendorPrefix),
Flex(Flex, VendorPrefix),
Order(f32, VendorPrefix),
AlignContent(AlignContent, VendorPrefix),
JustifyContent(JustifyContent, VendorPrefix),
PlaceContent(PlaceContent),
AlignSelf(AlignSelf, VendorPrefix),
JustifySelf(JustifySelf),
PlaceSelf(PlaceSelf),
AlignItems(AlignItems, VendorPrefix),
JustifyItems(JustifyItems),
PlaceItems(PlaceItems),
RowGap(GapValue),
ColumnGap(GapValue),
Gap(Gap),
BoxOrient(BoxOrient, VendorPrefix),
BoxDirection(BoxDirection, VendorPrefix),
BoxOrdinalGroup(f32, VendorPrefix),
BoxAlign(BoxAlign, VendorPrefix),
BoxFlex(f32, VendorPrefix),
BoxFlexGroup(f32, VendorPrefix),
BoxPack(BoxPack, VendorPrefix),
BoxLines(BoxLines, VendorPrefix),
FlexPack(FlexPack, VendorPrefix),
FlexOrder(f32, VendorPrefix),
FlexAlign(BoxAlign, VendorPrefix),
FlexItemAlign(FlexItemAlign, VendorPrefix),
FlexLinePack(FlexLinePack, VendorPrefix),
FlexPositive(f32, VendorPrefix),
FlexNegative(f32, VendorPrefix),
FlexPreferredSize(LengthPercentageOrAuto, VendorPrefix),
GridTemplateColumns(TrackSizing),
GridTemplateRows(TrackSizing),
GridAutoColumns(TrackSizeList),
GridAutoRows(TrackSizeList),
GridAutoFlow(GridAutoFlow),
GridTemplateAreas(GridTemplateAreas),
GridTemplate(GridTemplate),
Grid(Grid),
GridRowStart(GridLine),
GridRowEnd(GridLine),
GridColumnStart(GridLine),
GridColumnEnd(GridLine),
GridRow(GridPlacement),
GridColumn(GridPlacement),
GridArea(GridArea),
MarginTop(LengthPercentageOrAuto),
MarginBottom(LengthPercentageOrAuto),
MarginLeft(LengthPercentageOrAuto),
MarginRight(LengthPercentageOrAuto),
MarginBlockStart(LengthPercentageOrAuto),
MarginBlockEnd(LengthPercentageOrAuto),
MarginInlineStart(LengthPercentageOrAuto),
MarginInlineEnd(LengthPercentageOrAuto),
MarginBlock(Size2D<LengthPercentageOrAuto>),
MarginInline(Size2D<LengthPercentageOrAuto>),
Margin(Rect<LengthPercentageOrAuto>),
PaddingTop(LengthPercentageOrAuto),
PaddingBottom(LengthPercentageOrAuto),
PaddingLeft(LengthPercentageOrAuto),
PaddingRight(LengthPercentageOrAuto),
PaddingBlockStart(LengthPercentageOrAuto),
PaddingBlockEnd(LengthPercentageOrAuto),
PaddingInlineStart(LengthPercentageOrAuto),
PaddingInlineEnd(LengthPercentageOrAuto),
PaddingBlock(Size2D<LengthPercentageOrAuto>),
PaddingInline(Size2D<LengthPercentageOrAuto>),
Padding(Rect<LengthPercentageOrAuto>),
ScrollMarginTop(LengthPercentageOrAuto),
ScrollMarginBottom(LengthPercentageOrAuto),
ScrollMarginLeft(LengthPercentageOrAuto),
ScrollMarginRight(LengthPercentageOrAuto),
ScrollMarginBlockStart(LengthPercentageOrAuto),
ScrollMarginBlockEnd(LengthPercentageOrAuto),
ScrollMarginInlineStart(LengthPercentageOrAuto),
ScrollMarginInlineEnd(LengthPercentageOrAuto),
ScrollMarginBlock(Size2D<LengthPercentageOrAuto>),
ScrollMarginInline(Size2D<LengthPercentageOrAuto>),
ScrollMargin(Rect<LengthPercentageOrAuto>),
ScrollPaddingTop(LengthPercentageOrAuto),
ScrollPaddingBottom(LengthPercentageOrAuto),
ScrollPaddingLeft(LengthPercentageOrAuto),
ScrollPaddingRight(LengthPercentageOrAuto),
ScrollPaddingBlockStart(LengthPercentageOrAuto),
ScrollPaddingBlockEnd(LengthPercentageOrAuto),
ScrollPaddingInlineStart(LengthPercentageOrAuto),
ScrollPaddingInlineEnd(LengthPercentageOrAuto),
ScrollPaddingBlock(Size2D<LengthPercentageOrAuto>),
ScrollPaddingInline(Size2D<LengthPercentageOrAuto>),
ScrollPadding(Rect<LengthPercentageOrAuto>),
FontWeight(FontWeight),
FontSize(FontSize),
FontStretch(FontStretch),
FontFamily(Vec<FontFamily>),
FontStyle(FontStyle),
FontVariantCaps(FontVariantCaps),
LineHeight(LineHeight),
Font(Font),
VerticalAlign(VerticalAlign),
TransitionProperty(SmallVec<[PropertyId; 1]>, VendorPrefix),
TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix),
TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix),
TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix),
Transition(SmallVec<[Transition; 1]>, VendorPrefix),
AnimationName(SmallVec<[AnimationName; 1]>, VendorPrefix),
AnimationDuration(SmallVec<[Time; 1]>, VendorPrefix),
AnimationTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix),
AnimationIterationCount(SmallVec<[AnimationIterationCount; 1]>, VendorPrefix),
AnimationDirection(SmallVec<[AnimationDirection; 1]>, VendorPrefix),
AnimationPlayState(SmallVec<[AnimationPlayState; 1]>, VendorPrefix),
AnimationDelay(SmallVec<[Time; 1]>, VendorPrefix),
AnimationFillMode(SmallVec<[AnimationFillMode; 1]>, VendorPrefix),
Animation(SmallVec<[Animation; 1]>, VendorPrefix),
Transform(TransformList, VendorPrefix),
TransformOrigin(Position, VendorPrefix),
TransformStyle(TransformStyle, VendorPrefix),
TransformBox(TransformBox),
BackfaceVisibility(BackfaceVisibility, VendorPrefix),
Perspective(Perspective, VendorPrefix),
PerspectiveOrigin(Position, VendorPrefix),
Translate(Translate),
Rotate(Rotate),
Scale(Scale),
TextTransform(TextTransform),
WhiteSpace(WhiteSpace),
TabSize(LengthOrNumber, VendorPrefix),
WordBreak(WordBreak),
LineBreak(LineBreak),
Hyphens(Hyphens, VendorPrefix),
OverflowWrap(OverflowWrap),
WordWrap(OverflowWrap),
TextAlign(TextAlign),
TextAlignLast(TextAlignLast, VendorPrefix),
TextJustify(TextJustify),
WordSpacing(Spacing),
LetterSpacing(Spacing),
TextIndent(TextIndent),
TextDecorationLine(TextDecorationLine, VendorPrefix),
TextDecorationStyle(TextDecorationStyle, VendorPrefix),
TextDecorationColor(CssColor, VendorPrefix),
TextDecorationThickness(TextDecorationThickness),
TextDecoration(TextDecoration, VendorPrefix),
TextDecorationSkipInk(TextDecorationSkipInk, VendorPrefix),
TextEmphasisStyle(TextEmphasisStyle, VendorPrefix),
TextEmphasisColor(CssColor, VendorPrefix),
TextEmphasis(TextEmphasis, VendorPrefix),
TextEmphasisPosition(TextEmphasisPosition, VendorPrefix),
TextShadow(SmallVec<[TextShadow; 1]>),
Resize(Resize),
Cursor(Cursor),
CaretColor(ColorOrAuto),
CaretShape(CaretShape),
Caret(Caret),
UserSelect(UserSelect, VendorPrefix),
AccentColor(ColorOrAuto),
Appearance(Appearance, VendorPrefix),
ListStyleType(ListStyleType),
ListStyleImage(Image),
ListStylePosition(ListStylePosition),
ListStyle(ListStyle),
MarkerSide(MarkerSide),
Composes(Composes),
Fill(SVGPaint),
FillRule(FillRule),
FillOpacity(AlphaValue),
Stroke(SVGPaint),
StrokeOpacity(AlphaValue),
StrokeWidth(LengthPercentage),
StrokeLinecap(StrokeLinecap),
StrokeLinejoin(StrokeLinejoin),
StrokeMiterlimit(f32),
StrokeDasharray(StrokeDasharray),
StrokeDashoffset(LengthPercentage),
MarkerStart(Marker),
MarkerMid(Marker),
MarkerEnd(Marker),
Marker(Marker),
ColorInterpolation(ColorInterpolation),
ColorInterpolationFilters(ColorInterpolation),
ColorRendering(ColorRendering),
ShapeRendering(ShapeRendering),
TextRendering(TextRendering),
ImageRendering(ImageRendering),
ClipPath(ClipPath),
ClipRule(FillRule),
MaskImage(SmallVec<[Image; 1]>),
MaskMode(SmallVec<[MaskMode; 1]>),
MaskRepeat(SmallVec<[BackgroundRepeat; 1]>),
MaskPositionX(SmallVec<[HorizontalPosition; 1]>),
MaskPositionY(SmallVec<[VerticalPosition; 1]>),
MaskPosition(SmallVec<[Position; 1]>),
MaskClip(SmallVec<[MaskClip; 1]>),
MaskOrigin(SmallVec<[GeometryBox; 1]>),
MaskSize(SmallVec<[BackgroundSize; 1]>),
MaskComposite(SmallVec<[MaskComposite; 1]>),
MaskType(MaskType),
Mask(SmallVec<[Mask; 1]>),
MaskBorderSource(Image),
MaskBorderMode(MaskBorderMode),
MaskBorderSlice(BorderImageSlice),
MaskBorderWidth(Rect<BorderImageSideWidth>),
MaskBorderOutset(Rect<LengthOrNumber>),
MaskBorderRepeat(BorderImageRepeat),
MaskBorder(MaskBorder),
Filter(FilterList),
BackdropFilter(FilterList),
Unparsed(UnparsedProperty),
Custom(CustomProperty),
Logical(LogicalProperty),
}
Variants
BackgroundColor(CssColor)
Tuple Fields
0: CssColor
BackgroundImage(SmallVec<[Image; 1]>)
BackgroundPositionX(SmallVec<[HorizontalPosition; 1]>)
Tuple Fields
BackgroundPositionY(SmallVec<[VerticalPosition; 1]>)
Tuple Fields
BackgroundPosition(SmallVec<[Position; 1]>)
BackgroundSize(SmallVec<[BackgroundSize; 1]>)
Tuple Fields
BackgroundRepeat(SmallVec<[BackgroundRepeat; 1]>)
Tuple Fields
BackgroundAttachment(SmallVec<[BackgroundAttachment; 1]>)
Tuple Fields
BackgroundClip(SmallVec<[BackgroundClip; 1]>, VendorPrefix)
BackgroundOrigin(SmallVec<[BackgroundBox; 1]>)
Tuple Fields
Background(SmallVec<[Background; 1]>)
Tuple Fields
BoxShadow(SmallVec<[BoxShadow; 1]>, VendorPrefix)
Opacity(AlphaValue)
Tuple Fields
0: AlphaValue
Color(CssColor)
Tuple Fields
0: CssColor
Display(Display)
Tuple Fields
0: Display
Visibility(Visibility)
Tuple Fields
0: Visibility
Width(Size)
Tuple Fields
0: Size
Height(Size)
Tuple Fields
0: Size
MinWidth(MinMaxSize)
Tuple Fields
0: MinMaxSize
MinHeight(MinMaxSize)
Tuple Fields
0: MinMaxSize
MaxWidth(MinMaxSize)
Tuple Fields
0: MinMaxSize
MaxHeight(MinMaxSize)
Tuple Fields
0: MinMaxSize
BlockSize(Size)
Tuple Fields
0: Size
InlineSize(Size)
Tuple Fields
0: Size
MinBlockSize(MinMaxSize)
Tuple Fields
0: MinMaxSize
MinInlineSize(MinMaxSize)
Tuple Fields
0: MinMaxSize
MaxBlockSize(MinMaxSize)
Tuple Fields
0: MinMaxSize
MaxInlineSize(MinMaxSize)
Tuple Fields
0: MinMaxSize
BoxSizing(BoxSizing, VendorPrefix)
Overflow(Overflow)
Tuple Fields
0: Overflow
OverflowX(OverflowKeyword)
Tuple Fields
OverflowY(OverflowKeyword)
Tuple Fields
TextOverflow(TextOverflow, VendorPrefix)
Position(Position)
Tuple Fields
0: Position
Top(LengthPercentageOrAuto)
Tuple Fields
Bottom(LengthPercentageOrAuto)
Tuple Fields
Left(LengthPercentageOrAuto)
Tuple Fields
Right(LengthPercentageOrAuto)
Tuple Fields
InsetBlockStart(LengthPercentageOrAuto)
Tuple Fields
InsetBlockEnd(LengthPercentageOrAuto)
Tuple Fields
InsetInlineStart(LengthPercentageOrAuto)
Tuple Fields
InsetInlineEnd(LengthPercentageOrAuto)
Tuple Fields
InsetBlock(Size2D<LengthPercentageOrAuto>)
Tuple Fields
InsetInline(Size2D<LengthPercentageOrAuto>)
Tuple Fields
Inset(Rect<LengthPercentageOrAuto>)
Tuple Fields
BorderTopColor(CssColor)
Tuple Fields
0: CssColor
BorderBottomColor(CssColor)
Tuple Fields
0: CssColor
BorderLeftColor(CssColor)
Tuple Fields
0: CssColor
BorderRightColor(CssColor)
Tuple Fields
0: CssColor
BorderBlockStartColor(CssColor)
Tuple Fields
0: CssColor
BorderBlockEndColor(CssColor)
Tuple Fields
0: CssColor
BorderInlineStartColor(CssColor)
Tuple Fields
0: CssColor
BorderInlineEndColor(CssColor)
Tuple Fields
0: CssColor
BorderTopStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderBottomStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderLeftStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderRightStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderBlockStartStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderBlockEndStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderInlineStartStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderInlineEndStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderTopWidth(BorderSideWidth)
Tuple Fields
BorderBottomWidth(BorderSideWidth)
Tuple Fields
BorderLeftWidth(BorderSideWidth)
Tuple Fields
BorderRightWidth(BorderSideWidth)
Tuple Fields
BorderBlockStartWidth(BorderSideWidth)
Tuple Fields
BorderBlockEndWidth(BorderSideWidth)
Tuple Fields
BorderInlineStartWidth(BorderSideWidth)
Tuple Fields
BorderInlineEndWidth(BorderSideWidth)
Tuple Fields
BorderTopLeftRadius(Size2D<LengthPercentage>, VendorPrefix)
BorderTopRightRadius(Size2D<LengthPercentage>, VendorPrefix)
BorderBottomLeftRadius(Size2D<LengthPercentage>, VendorPrefix)
BorderBottomRightRadius(Size2D<LengthPercentage>, VendorPrefix)
BorderStartStartRadius(Size2D<LengthPercentage>)
Tuple Fields
BorderStartEndRadius(Size2D<LengthPercentage>)
Tuple Fields
BorderEndStartRadius(Size2D<LengthPercentage>)
Tuple Fields
BorderEndEndRadius(Size2D<LengthPercentage>)
Tuple Fields
BorderRadius(BorderRadius, VendorPrefix)
BorderImageSource(Image)
Tuple Fields
0: Image
BorderImageOutset(Rect<LengthOrNumber>)
Tuple Fields
0: Rect<LengthOrNumber>
BorderImageRepeat(BorderImageRepeat)
Tuple Fields
BorderImageWidth(Rect<BorderImageSideWidth>)
Tuple Fields
BorderImageSlice(BorderImageSlice)
Tuple Fields
BorderImage(BorderImage, VendorPrefix)
BorderColor(Rect<CssColor>)
BorderStyle(Rect<BorderStyle>)
Tuple Fields
0: Rect<BorderStyle>
BorderWidth(Rect<BorderSideWidth>)
Tuple Fields
0: Rect<BorderSideWidth>
BorderBlockColor(CssColor)
Tuple Fields
0: CssColor
BorderBlockStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderBlockWidth(BorderSideWidth)
Tuple Fields
BorderInlineColor(CssColor)
Tuple Fields
0: CssColor
BorderInlineStyle(BorderStyle)
Tuple Fields
0: BorderStyle
BorderInlineWidth(BorderSideWidth)
Tuple Fields
Border(Border)
Tuple Fields
0: Border
BorderTop(Border)
Tuple Fields
0: Border
BorderBottom(Border)
Tuple Fields
0: Border
BorderLeft(Border)
Tuple Fields
0: Border
BorderRight(Border)
Tuple Fields
0: Border
BorderBlock(Border)
Tuple Fields
0: Border
BorderBlockStart(Border)
Tuple Fields
0: Border
BorderBlockEnd(Border)
Tuple Fields
0: Border
BorderInline(Border)
Tuple Fields
0: Border
BorderInlineStart(Border)
Tuple Fields
0: Border
BorderInlineEnd(Border)
Tuple Fields
0: Border
Outline(Outline)
Tuple Fields
0: Outline
OutlineColor(CssColor)
Tuple Fields
0: CssColor
OutlineStyle(OutlineStyle)
Tuple Fields
0: OutlineStyle
OutlineWidth(BorderSideWidth)
Tuple Fields
FlexDirection(FlexDirection, VendorPrefix)
FlexWrap(FlexWrap, VendorPrefix)
FlexFlow(FlexFlow, VendorPrefix)
FlexGrow(f32, VendorPrefix)
FlexShrink(f32, VendorPrefix)
FlexBasis(LengthPercentageOrAuto, VendorPrefix)
Flex(Flex, VendorPrefix)
Order(f32, VendorPrefix)
AlignContent(AlignContent, VendorPrefix)
JustifyContent(JustifyContent, VendorPrefix)
PlaceContent(PlaceContent)
Tuple Fields
0: PlaceContent
AlignSelf(AlignSelf, VendorPrefix)
JustifySelf(JustifySelf)
Tuple Fields
0: JustifySelf
PlaceSelf(PlaceSelf)
Tuple Fields
0: PlaceSelf
AlignItems(AlignItems, VendorPrefix)
JustifyItems(JustifyItems)
Tuple Fields
0: JustifyItems
PlaceItems(PlaceItems)
Tuple Fields
0: PlaceItems
RowGap(GapValue)
Tuple Fields
0: GapValue
ColumnGap(GapValue)
Tuple Fields
0: GapValue
Gap(Gap)
Tuple Fields
0: Gap
BoxOrient(BoxOrient, VendorPrefix)
BoxDirection(BoxDirection, VendorPrefix)
BoxOrdinalGroup(f32, VendorPrefix)
BoxAlign(BoxAlign, VendorPrefix)
BoxFlex(f32, VendorPrefix)
BoxFlexGroup(f32, VendorPrefix)
BoxPack(BoxPack, VendorPrefix)
BoxLines(BoxLines, VendorPrefix)
FlexPack(FlexPack, VendorPrefix)
FlexOrder(f32, VendorPrefix)
FlexAlign(BoxAlign, VendorPrefix)
FlexItemAlign(FlexItemAlign, VendorPrefix)
FlexLinePack(FlexLinePack, VendorPrefix)
FlexPositive(f32, VendorPrefix)
FlexNegative(f32, VendorPrefix)
FlexPreferredSize(LengthPercentageOrAuto, VendorPrefix)
GridTemplateColumns(TrackSizing)
Tuple Fields
0: TrackSizing
GridTemplateRows(TrackSizing)
Tuple Fields
0: TrackSizing
GridAutoColumns(TrackSizeList)
Tuple Fields
GridAutoRows(TrackSizeList)
Tuple Fields
GridAutoFlow(GridAutoFlow)
Tuple Fields
0: GridAutoFlow
GridTemplateAreas(GridTemplateAreas)
Tuple Fields
GridTemplate(GridTemplate)
Tuple Fields
0: GridTemplate
Grid(Grid)
Tuple Fields
0: Grid
GridRowStart(GridLine)
Tuple Fields
0: GridLine
GridRowEnd(GridLine)
Tuple Fields
0: GridLine
GridColumnStart(GridLine)
Tuple Fields
0: GridLine
GridColumnEnd(GridLine)
Tuple Fields
0: GridLine
GridRow(GridPlacement)
Tuple Fields
GridColumn(GridPlacement)
Tuple Fields
GridArea(GridArea)
Tuple Fields
0: GridArea
MarginTop(LengthPercentageOrAuto)
Tuple Fields
MarginBottom(LengthPercentageOrAuto)
Tuple Fields
MarginLeft(LengthPercentageOrAuto)
Tuple Fields
MarginRight(LengthPercentageOrAuto)
Tuple Fields
MarginBlockStart(LengthPercentageOrAuto)
Tuple Fields
MarginBlockEnd(LengthPercentageOrAuto)
Tuple Fields
MarginInlineStart(LengthPercentageOrAuto)
Tuple Fields
MarginInlineEnd(LengthPercentageOrAuto)
Tuple Fields
MarginBlock(Size2D<LengthPercentageOrAuto>)
Tuple Fields
MarginInline(Size2D<LengthPercentageOrAuto>)
Tuple Fields
Margin(Rect<LengthPercentageOrAuto>)
Tuple Fields
PaddingTop(LengthPercentageOrAuto)
Tuple Fields
PaddingBottom(LengthPercentageOrAuto)
Tuple Fields
PaddingLeft(LengthPercentageOrAuto)
Tuple Fields
PaddingRight(LengthPercentageOrAuto)
Tuple Fields
PaddingBlockStart(LengthPercentageOrAuto)
Tuple Fields
PaddingBlockEnd(LengthPercentageOrAuto)
Tuple Fields
PaddingInlineStart(LengthPercentageOrAuto)
Tuple Fields
PaddingInlineEnd(LengthPercentageOrAuto)
Tuple Fields
PaddingBlock(Size2D<LengthPercentageOrAuto>)
Tuple Fields
PaddingInline(Size2D<LengthPercentageOrAuto>)
Tuple Fields
Padding(Rect<LengthPercentageOrAuto>)
Tuple Fields
ScrollMarginTop(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginBottom(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginLeft(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginRight(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginBlockStart(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginBlockEnd(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginInlineStart(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginInlineEnd(LengthPercentageOrAuto)
Tuple Fields
ScrollMarginBlock(Size2D<LengthPercentageOrAuto>)
Tuple Fields
ScrollMarginInline(Size2D<LengthPercentageOrAuto>)
Tuple Fields
ScrollMargin(Rect<LengthPercentageOrAuto>)
Tuple Fields
ScrollPaddingTop(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingBottom(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingLeft(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingRight(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingBlockStart(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingBlockEnd(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingInlineStart(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingInlineEnd(LengthPercentageOrAuto)
Tuple Fields
ScrollPaddingBlock(Size2D<LengthPercentageOrAuto>)
Tuple Fields
ScrollPaddingInline(Size2D<LengthPercentageOrAuto>)
Tuple Fields
ScrollPadding(Rect<LengthPercentageOrAuto>)
Tuple Fields
FontWeight(FontWeight)
Tuple Fields
0: FontWeight
FontSize(FontSize)
Tuple Fields
0: FontSize
FontStretch(FontStretch)
Tuple Fields
0: FontStretch
FontFamily(Vec<FontFamily>)
Tuple Fields
0: Vec<FontFamily>
FontStyle(FontStyle)
Tuple Fields
0: FontStyle
FontVariantCaps(FontVariantCaps)
Tuple Fields
LineHeight(LineHeight)
Tuple Fields
0: LineHeight
Font(Font)
Tuple Fields
0: Font
VerticalAlign(VerticalAlign)
Tuple Fields
TransitionProperty(SmallVec<[PropertyId; 1]>, VendorPrefix)
TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix)
TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix)
TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix)
Transition(SmallVec<[Transition; 1]>, VendorPrefix)
AnimationName(SmallVec<[AnimationName; 1]>, VendorPrefix)
AnimationDuration(SmallVec<[Time; 1]>, VendorPrefix)
AnimationTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix)
AnimationIterationCount(SmallVec<[AnimationIterationCount; 1]>, VendorPrefix)
AnimationDirection(SmallVec<[AnimationDirection; 1]>, VendorPrefix)
AnimationPlayState(SmallVec<[AnimationPlayState; 1]>, VendorPrefix)
AnimationDelay(SmallVec<[Time; 1]>, VendorPrefix)
AnimationFillMode(SmallVec<[AnimationFillMode; 1]>, VendorPrefix)
Animation(SmallVec<[Animation; 1]>, VendorPrefix)
Transform(TransformList, VendorPrefix)
TransformOrigin(Position, VendorPrefix)
TransformStyle(TransformStyle, VendorPrefix)
TransformBox(TransformBox)
Tuple Fields
0: TransformBox
BackfaceVisibility(BackfaceVisibility, VendorPrefix)
Perspective(Perspective, VendorPrefix)
PerspectiveOrigin(Position, VendorPrefix)
Translate(Translate)
Tuple Fields
0: Translate
Rotate(Rotate)
Tuple Fields
0: Rotate
Scale(Scale)
Tuple Fields
0: Scale
TextTransform(TextTransform)
Tuple Fields
WhiteSpace(WhiteSpace)
Tuple Fields
0: WhiteSpace
TabSize(LengthOrNumber, VendorPrefix)
WordBreak(WordBreak)
Tuple Fields
0: WordBreak
LineBreak(LineBreak)
Tuple Fields
0: LineBreak
Hyphens(Hyphens, VendorPrefix)
OverflowWrap(OverflowWrap)
Tuple Fields
0: OverflowWrap
WordWrap(OverflowWrap)
Tuple Fields
0: OverflowWrap
TextAlign(TextAlign)
Tuple Fields
0: TextAlign
TextAlignLast(TextAlignLast, VendorPrefix)
TextJustify(TextJustify)
Tuple Fields
0: TextJustify
WordSpacing(Spacing)
Tuple Fields
0: Spacing
LetterSpacing(Spacing)
Tuple Fields
0: Spacing
TextIndent(TextIndent)
Tuple Fields
0: TextIndent
TextDecorationLine(TextDecorationLine, VendorPrefix)
TextDecorationStyle(TextDecorationStyle, VendorPrefix)
TextDecorationColor(CssColor, VendorPrefix)
TextDecorationThickness(TextDecorationThickness)
Tuple Fields
TextDecoration(TextDecoration, VendorPrefix)
TextDecorationSkipInk(TextDecorationSkipInk, VendorPrefix)
TextEmphasisStyle(TextEmphasisStyle, VendorPrefix)
TextEmphasisColor(CssColor, VendorPrefix)
TextEmphasis(TextEmphasis, VendorPrefix)
TextEmphasisPosition(TextEmphasisPosition, VendorPrefix)
TextShadow(SmallVec<[TextShadow; 1]>)
Tuple Fields
Resize(Resize)
Tuple Fields
0: Resize
Cursor(Cursor)
Tuple Fields
0: Cursor
CaretColor(ColorOrAuto)
Tuple Fields
0: ColorOrAuto
CaretShape(CaretShape)
Tuple Fields
0: CaretShape
Caret(Caret)
Tuple Fields
0: Caret
UserSelect(UserSelect, VendorPrefix)
AccentColor(ColorOrAuto)
Tuple Fields
0: ColorOrAuto
Appearance(Appearance, VendorPrefix)
ListStyleType(ListStyleType)
Tuple Fields
ListStyleImage(Image)
Tuple Fields
0: Image
ListStylePosition(ListStylePosition)
Tuple Fields
ListStyle(ListStyle)
Tuple Fields
0: ListStyle
MarkerSide(MarkerSide)
Tuple Fields
0: MarkerSide
Composes(Composes)
Tuple Fields
0: Composes
Fill(SVGPaint)
Tuple Fields
0: SVGPaint
FillRule(FillRule)
Tuple Fields
0: FillRule
FillOpacity(AlphaValue)
Tuple Fields
0: AlphaValue
Stroke(SVGPaint)
Tuple Fields
0: SVGPaint
StrokeOpacity(AlphaValue)
Tuple Fields
0: AlphaValue
StrokeWidth(LengthPercentage)
Tuple Fields
StrokeLinecap(StrokeLinecap)
Tuple Fields
StrokeLinejoin(StrokeLinejoin)
Tuple Fields
StrokeMiterlimit(f32)
Tuple Fields
0: f32
StrokeDasharray(StrokeDasharray)
Tuple Fields
StrokeDashoffset(LengthPercentage)
Tuple Fields
MarkerStart(Marker)
Tuple Fields
0: Marker
MarkerMid(Marker)
Tuple Fields
0: Marker
MarkerEnd(Marker)
Tuple Fields
0: Marker
Marker(Marker)
Tuple Fields
0: Marker
ColorInterpolation(ColorInterpolation)
Tuple Fields
ColorInterpolationFilters(ColorInterpolation)
Tuple Fields
ColorRendering(ColorRendering)
Tuple Fields
ShapeRendering(ShapeRendering)
Tuple Fields
TextRendering(TextRendering)
Tuple Fields
ImageRendering(ImageRendering)
Tuple Fields
ClipPath(ClipPath)
Tuple Fields
0: ClipPath
ClipRule(FillRule)
Tuple Fields
0: FillRule
MaskImage(SmallVec<[Image; 1]>)
MaskMode(SmallVec<[MaskMode; 1]>)
MaskRepeat(SmallVec<[BackgroundRepeat; 1]>)
Tuple Fields
MaskPositionX(SmallVec<[HorizontalPosition; 1]>)
Tuple Fields
MaskPositionY(SmallVec<[VerticalPosition; 1]>)
Tuple Fields
MaskPosition(SmallVec<[Position; 1]>)
MaskClip(SmallVec<[MaskClip; 1]>)
MaskOrigin(SmallVec<[GeometryBox; 1]>)
Tuple Fields
MaskSize(SmallVec<[BackgroundSize; 1]>)
Tuple Fields
MaskComposite(SmallVec<[MaskComposite; 1]>)
Tuple Fields
MaskType(MaskType)
Tuple Fields
0: MaskType
Mask(SmallVec<[Mask; 1]>)
MaskBorderSource(Image)
Tuple Fields
0: Image
MaskBorderMode(MaskBorderMode)
Tuple Fields
MaskBorderSlice(BorderImageSlice)
Tuple Fields
MaskBorderWidth(Rect<BorderImageSideWidth>)
Tuple Fields
MaskBorderOutset(Rect<LengthOrNumber>)
Tuple Fields
0: Rect<LengthOrNumber>
MaskBorderRepeat(BorderImageRepeat)
Tuple Fields
MaskBorder(MaskBorder)
Tuple Fields
0: MaskBorder
Filter(FilterList)
Tuple Fields
0: FilterList
BackdropFilter(FilterList)
Tuple Fields
0: FilterList
Unparsed(UnparsedProperty)
Tuple Fields
Custom(CustomProperty)
Tuple Fields
Logical(LogicalProperty)
Implementations
pub fn parse<'i, 't>(
name: CowRcStr<'i>,
input: &mut Parser<'i, 't>,
options: &ParserOptions
) -> Result<Self, ParseError<'i, ParserError<'i>>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Property
impl UnwindSafe for Property
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more