Enum parcel_css::properties::Property
source · [−]pub enum Property<'i> {
Show 322 variants
BackgroundColor(CssColor),
BackgroundImage(SmallVec<[Image<'i>; 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<'i>; 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<'i>),
BorderImageOutset(Rect<LengthOrNumber>),
BorderImageRepeat(BorderImageRepeat),
BorderImageWidth(Rect<BorderImageSideWidth>),
BorderImageSlice(BorderImageSlice),
BorderImage(BorderImage<'i>, 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<'i>),
GridTemplateRows(TrackSizing<'i>),
GridAutoColumns(TrackSizeList),
GridAutoRows(TrackSizeList),
GridAutoFlow(GridAutoFlow),
GridTemplateAreas(GridTemplateAreas),
GridTemplate(GridTemplate<'i>),
Grid(Grid<'i>),
GridRowStart(GridLine<'i>),
GridRowEnd(GridLine<'i>),
GridColumnStart(GridLine<'i>),
GridColumnEnd(GridLine<'i>),
GridRow(GridPlacement<'i>),
GridColumn(GridPlacement<'i>),
GridArea(GridArea<'i>),
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<'i>>),
FontStyle(FontStyle),
FontVariantCaps(FontVariantCaps),
LineHeight(LineHeight),
Font(Font<'i>),
VerticalAlign(VerticalAlign),
TransitionProperty(SmallVec<[PropertyId<'i>; 1]>, VendorPrefix),
TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix),
TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix),
TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix),
Transition(SmallVec<[Transition<'i>; 1]>, VendorPrefix),
AnimationName(AnimationNameList<'i>, 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(AnimationList<'i>, 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<'i>, VendorPrefix),
TextEmphasisColor(CssColor, VendorPrefix),
TextEmphasis(TextEmphasis<'i>, VendorPrefix),
TextEmphasisPosition(TextEmphasisPosition, VendorPrefix),
TextShadow(SmallVec<[TextShadow; 1]>),
Resize(Resize),
Cursor(Cursor<'i>),
CaretColor(ColorOrAuto),
CaretShape(CaretShape),
Caret(Caret),
UserSelect(UserSelect, VendorPrefix),
AccentColor(ColorOrAuto),
Appearance(Appearance<'i>, VendorPrefix),
ListStyleType(ListStyleType<'i>),
ListStyleImage(Image<'i>),
ListStylePosition(ListStylePosition),
ListStyle(ListStyle<'i>),
MarkerSide(MarkerSide),
Composes(Composes<'i>),
Fill(SVGPaint<'i>),
FillRule(FillRule),
FillOpacity(AlphaValue),
Stroke(SVGPaint<'i>),
StrokeOpacity(AlphaValue),
StrokeWidth(LengthPercentage),
StrokeLinecap(StrokeLinecap),
StrokeLinejoin(StrokeLinejoin),
StrokeMiterlimit(f32),
StrokeDasharray(StrokeDasharray),
StrokeDashoffset(LengthPercentage),
MarkerStart(Marker<'i>),
MarkerMid(Marker<'i>),
MarkerEnd(Marker<'i>),
Marker(Marker<'i>),
ColorInterpolation(ColorInterpolation),
ColorInterpolationFilters(ColorInterpolation),
ColorRendering(ColorRendering),
ShapeRendering(ShapeRendering),
TextRendering(TextRendering),
ImageRendering(ImageRendering),
ClipPath(ClipPath<'i>),
ClipRule(FillRule),
MaskImage(SmallVec<[Image<'i>; 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<'i>; 1]>),
MaskBorderSource(Image<'i>),
MaskBorderMode(MaskBorderMode),
MaskBorderSlice(BorderImageSlice),
MaskBorderWidth(Rect<BorderImageSideWidth>),
MaskBorderOutset(Rect<LengthOrNumber>),
MaskBorderRepeat(BorderImageRepeat),
MaskBorder(MaskBorder<'i>),
Filter(FilterList<'i>),
BackdropFilter(FilterList<'i>),
Unparsed(UnparsedProperty<'i>),
Custom(CustomProperty<'i>),
Logical(LogicalProperty<'i>),
}
Variants
BackgroundColor(CssColor)
BackgroundImage(SmallVec<[Image<'i>; 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<'i>; 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<'i>)
BorderImageOutset(Rect<LengthOrNumber>)
BorderImageRepeat(BorderImageRepeat)
BorderImageWidth(Rect<BorderImageSideWidth>)
BorderImageSlice(BorderImageSlice)
BorderImage(BorderImage<'i>, 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<'i>)
GridTemplateRows(TrackSizing<'i>)
GridAutoColumns(TrackSizeList)
GridAutoRows(TrackSizeList)
GridAutoFlow(GridAutoFlow)
GridTemplateAreas(GridTemplateAreas)
GridTemplate(GridTemplate<'i>)
Grid(Grid<'i>)
GridRowStart(GridLine<'i>)
GridRowEnd(GridLine<'i>)
GridColumnStart(GridLine<'i>)
GridColumnEnd(GridLine<'i>)
GridRow(GridPlacement<'i>)
GridColumn(GridPlacement<'i>)
GridArea(GridArea<'i>)
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<'i>>)
FontStyle(FontStyle)
FontVariantCaps(FontVariantCaps)
LineHeight(LineHeight)
Font(Font<'i>)
VerticalAlign(VerticalAlign)
TransitionProperty(SmallVec<[PropertyId<'i>; 1]>, VendorPrefix)
TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix)
TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix)
TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix)
Transition(SmallVec<[Transition<'i>; 1]>, VendorPrefix)
AnimationName(AnimationNameList<'i>, 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(AnimationList<'i>, 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<'i>, VendorPrefix)
TextEmphasisColor(CssColor, VendorPrefix)
TextEmphasis(TextEmphasis<'i>, VendorPrefix)
TextEmphasisPosition(TextEmphasisPosition, VendorPrefix)
TextShadow(SmallVec<[TextShadow; 1]>)
Resize(Resize)
Cursor(Cursor<'i>)
CaretColor(ColorOrAuto)
CaretShape(CaretShape)
Caret(Caret)
UserSelect(UserSelect, VendorPrefix)
AccentColor(ColorOrAuto)
Appearance(Appearance<'i>, VendorPrefix)
ListStyleType(ListStyleType<'i>)
ListStyleImage(Image<'i>)
ListStylePosition(ListStylePosition)
ListStyle(ListStyle<'i>)
MarkerSide(MarkerSide)
Composes(Composes<'i>)
Fill(SVGPaint<'i>)
FillRule(FillRule)
FillOpacity(AlphaValue)
Stroke(SVGPaint<'i>)
StrokeOpacity(AlphaValue)
StrokeWidth(LengthPercentage)
StrokeLinecap(StrokeLinecap)
StrokeLinejoin(StrokeLinejoin)
StrokeMiterlimit(f32)
StrokeDasharray(StrokeDasharray)
StrokeDashoffset(LengthPercentage)
MarkerStart(Marker<'i>)
MarkerMid(Marker<'i>)
MarkerEnd(Marker<'i>)
Marker(Marker<'i>)
ColorInterpolation(ColorInterpolation)
ColorInterpolationFilters(ColorInterpolation)
ColorRendering(ColorRendering)
ShapeRendering(ShapeRendering)
TextRendering(TextRendering)
ImageRendering(ImageRendering)
ClipPath(ClipPath<'i>)
ClipRule(FillRule)
MaskImage(SmallVec<[Image<'i>; 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<'i>; 1]>)
MaskBorderSource(Image<'i>)
MaskBorderMode(MaskBorderMode)
MaskBorderSlice(BorderImageSlice)
MaskBorderWidth(Rect<BorderImageSideWidth>)
MaskBorderOutset(Rect<LengthOrNumber>)
MaskBorderRepeat(BorderImageRepeat)
MaskBorder(MaskBorder<'i>)
Filter(FilterList<'i>)
BackdropFilter(FilterList<'i>)
Unparsed(UnparsedProperty<'i>)
Custom(CustomProperty<'i>)
Logical(LogicalProperty<'i>)
Implementations
sourceimpl<'i> Property<'i>
impl<'i> Property<'i>
pub fn parse<'t>(
name: CowRcStr<'i>,
input: &mut Parser<'i, 't>,
options: &ParserOptions
) -> Result<Property<'i>, ParseError<'i, ParserError<'i>>>
Trait Implementations
impl<'i> StructuralPartialEq for Property<'i>
Auto Trait Implementations
impl<'i> RefUnwindSafe for Property<'i>
impl<'i> Send for Property<'i>
impl<'i> Sync for Property<'i>
impl<'i> Unpin for Property<'i>
impl<'i> UnwindSafe for Property<'i>
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
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.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more