Skip to main content

Property

Enum Property 

Source
#[non_exhaustive]
pub enum Property {
Show 496 variants AccentColor, AlignContent, AlignItems, AlignSelf, AlignmentBaseline, All, AnchorName, Animation, AnimationComposition, AnimationDelay, AnimationDirection, AnimationDuration, AnimationFillMode, AnimationIterationCount, AnimationName, AnimationPlayState, AnimationTimingFunction, AnimationTrigger, Appearance, AspectRatio, BackdropFilter, BackfaceVisibility, Background, BackgroundAttachment, BackgroundBlendMode, BackgroundClip, BackgroundColor, BackgroundImage, BackgroundOrigin, BackgroundPosition, BackgroundPositionX, BackgroundPositionY, BackgroundRepeat, BackgroundSize, BaselineShift, BaselineSource, BlockSize, Border, BorderBlock, BorderBlockColor, BorderBlockEnd, BorderBlockEndColor, BorderBlockEndStyle, BorderBlockEndWidth, BorderBlockStart, BorderBlockStartColor, BorderBlockStartStyle, BorderBlockStartWidth, BorderBlockStyle, BorderBlockWidth, BorderBottom, BorderBottomColor, BorderBottomLeftRadius, BorderBottomRightRadius, BorderBottomStyle, BorderBottomWidth, BorderCollapse, BorderColor, BorderEndEndRadius, BorderEndStartRadius, BorderImage, BorderImageOutset, BorderImageRepeat, BorderImageSlice, BorderImageSource, BorderImageWidth, BorderInline, BorderInlineColor, BorderInlineEnd, BorderInlineEndColor, BorderInlineEndStyle, BorderInlineEndWidth, BorderInlineStart, BorderInlineStartColor, BorderInlineStartStyle, BorderInlineStartWidth, BorderInlineStyle, BorderInlineWidth, BorderLeft, BorderLeftColor, BorderLeftStyle, BorderLeftWidth, BorderRadius, BorderRight, BorderRightColor, BorderRightStyle, BorderRightWidth, BorderShape, BorderSpacing, BorderStartEndRadius, BorderStartStartRadius, BorderStyle, BorderTop, BorderTopColor, BorderTopLeftRadius, BorderTopRightRadius, BorderTopStyle, BorderTopWidth, BorderWidth, Bottom, BoxDecorationBreak, BoxShadow, BoxSizing, BreakAfter, BreakBefore, BreakInside, CaptionSide, Caret, CaretAnimation, CaretColor, CaretShape, Clear, ClipPath, ClipRule, Color, ColorInterpolationFilters, ColorScheme, ColumnCount, ColumnFill, ColumnGap, ColumnHeight, ColumnRule, ColumnRuleColor, ColumnRuleStyle, ColumnRuleWidth, ColumnSpan, ColumnWidth, ColumnWrap, Columns, Contain, ContainIntrinsicBlockSize, ContainIntrinsicHeight, ContainIntrinsicInlineSize, ContainIntrinsicSize, ContainIntrinsicWidth, Container, ContainerName, ContainerType, Content, ContentVisibility, CornerBlockEndShape, CornerBlockStartShape, CornerBottomLeftShape, CornerBottomRightShape, CornerBottomShape, CornerEndEndShape, CornerEndStartShape, CornerInlineEndShape, CornerInlineStartShape, CornerLeftShape, CornerRightShape, CornerShape, CornerStartEndShape, CornerStartStartShape, CornerTopLeftShape, CornerTopRightShape, CornerTopShape, CounterIncrement, CounterReset, CounterSet, Cursor, Cx, Cy, D, Direction, Display, DominantBaseline, DynamicRangeLimit, EmptyCells, Fill, FillOpacity, FillRule, Filter, Flex, FlexBasis, FlexDirection, FlexFlow, FlexGrow, FlexLineCount, FlexShrink, FlexWrap, Float, FloodColor, FloodOpacity, Font, FontFamily, FontFeatureSettings, FontKerning, FontLanguageOverride, FontOpticalSizing, FontPalette, FontSize, FontSizeAdjust, FontStyle, FontSynthesis, FontSynthesisSmallCaps, FontSynthesisStyle, FontSynthesisWeight, FontVariant, FontVariantAlternates, FontVariantCaps, FontVariantEastAsian, FontVariantEmoji, FontVariantLigatures, FontVariantNumeric, FontVariantPosition, FontVariationSettings, FontWeight, ForcedColorAdjust, FrameSizing, Gap, Grid, GridArea, GridAutoColumns, GridAutoFlow, GridAutoRows, GridColumn, GridColumnEnd, GridColumnStart, GridRow, GridRowEnd, GridRowStart, GridTemplate, GridTemplateAreas, GridTemplateColumns, GridTemplateRows, HangingPunctuation, Height, HyphenateCharacter, HyphenateLimitChars, Hyphens, ImageOrientation, ImageRendering, InitialLetter, InlineSize, Inset, InsetBlock, InsetBlockEnd, InsetBlockStart, InsetInline, InsetInlineEnd, InsetInlineStart, Interactivity, InterestDelay, InterestDelayEnd, InterestDelayStart, Isolation, JustifyContent, JustifyItems, JustifySelf, Left, LetterSpacing, LightingColor, LineBreak, LineClamp, LineHeight, ListStyle, ListStyleImage, ListStylePosition, ListStyleType, Margin, MarginBlock, MarginBlockEnd, MarginBlockStart, MarginBottom, MarginInline, MarginInlineEnd, MarginInlineStart, MarginLeft, MarginRight, MarginTop, Marker, MarkerEnd, MarkerMid, MarkerStart, Mask, MaskBorder, MaskBorderMode, MaskBorderOutset, MaskBorderRepeat, MaskBorderSlice, MaskBorderSource, MaskBorderWidth, MaskClip, MaskComposite, MaskImage, MaskMode, MaskOrigin, MaskPosition, MaskRepeat, MaskSize, MaskType, MathDepth, MathStyle, MaxBlockSize, MaxHeight, MaxInlineSize, MaxWidth, MinBlockSize, MinHeight, MinInlineSize, MinWidth, MixBlendMode, ObjectFit, ObjectPosition, Offset, OffsetAnchor, OffsetDistance, OffsetPath, OffsetPosition, OffsetRotate, Opacity, Order, Orphans, Outline, OutlineColor, OutlineOffset, OutlineStyle, OutlineWidth, Overflow, OverflowAnchor, OverflowBlock, OverflowClipMargin, OverflowInline, OverflowWrap, OverflowX, OverflowY, OverscrollBehavior, OverscrollBehaviorBlock, OverscrollBehaviorInline, OverscrollBehaviorX, OverscrollBehaviorY, Padding, PaddingBlock, PaddingBlockEnd, PaddingBlockStart, PaddingBottom, PaddingInline, PaddingInlineEnd, PaddingInlineStart, PaddingLeft, PaddingRight, PaddingTop, Page, PaintOrder, PathLength, Perspective, PerspectiveOrigin, PlaceContent, PlaceItems, PlaceSelf, PointerEvents, Position, PositionAnchor, PositionArea, PositionTryFallbacks, PrintColorAdjust, Quotes, R, ReadingFlow, ReadingOrder, Resize, Right, Rotate, RowGap, RubyAlign, RubyOverhang, RubyPosition, Rx, Ry, Scale, ScrollAxisLock, ScrollBehavior, ScrollMargin, ScrollMarginBlock, ScrollMarginBlockEnd, ScrollMarginBlockStart, ScrollMarginBottom, ScrollMarginInline, ScrollMarginInlineEnd, ScrollMarginInlineStart, ScrollMarginLeft, ScrollMarginRight, ScrollMarginTop, ScrollMarkerGroup, ScrollPadding, ScrollPaddingBlock, ScrollPaddingBlockEnd, ScrollPaddingBlockStart, ScrollPaddingBottom, ScrollPaddingInline, ScrollPaddingInlineEnd, ScrollPaddingInlineStart, ScrollPaddingLeft, ScrollPaddingRight, ScrollPaddingTop, ScrollSnapAlign, ScrollSnapStop, ScrollSnapType, ScrollTargetGroup, ScrollbarColor, ScrollbarGutter, ScrollbarWidth, ShapeImageThreshold, ShapeMargin, ShapeOutside, ShapeRendering, StopColor, StopOpacity, Stroke, StrokeDasharray, StrokeDashoffset, StrokeLinecap, StrokeLinejoin, StrokeMiterlimit, StrokeOpacity, StrokeWidth, TabSize, TableLayout, TextAlign, TextAlignLast, TextAnchor, TextAutospace, TextBox, TextBoxEdge, TextBoxTrim, TextCombineUpright, TextDecoration, TextDecorationColor, TextDecorationInset, TextDecorationLine, TextDecorationSkipInk, TextDecorationStyle, TextDecorationThickness, TextEmphasis, TextEmphasisColor, TextEmphasisPosition, TextEmphasisStyle, TextFit, TextIndent, TextJustify, TextOrientation, TextOverflow, TextRendering, TextShadow, TextTransform, TextUnderlineOffset, TextUnderlinePosition, TextWrap, TextWrapMode, TextWrapStyle, TimelineTrigger, TimelineTriggerActivationRange, TimelineTriggerActivationRangeEnd, TimelineTriggerActivationRangeStart, TimelineTriggerActiveRange, TimelineTriggerActiveRangeEnd, TimelineTriggerActiveRangeStart, TimelineTriggerName, TimelineTriggerSource, Top, TouchAction, Transform, TransformBox, TransformOrigin, TransformStyle, Transition, TransitionBehavior, TransitionDelay, TransitionDuration, TransitionProperty, TransitionTimingFunction, Translate, TriggerScope, UnicodeBidi, UserSelect, VectorEffect, VerticalAlign, ViewTransitionClass, ViewTransitionName, ViewTransitionScope, Visibility, WhiteSpace, WhiteSpaceCollapse, Widows, Width, WillChange, WindowDrag, WordBreak, WordSpacing, WordWrap, WritingMode, X, Y, ZIndex, Zoom,
}
Expand description

A standard CSS property, or one of the anchor positioning properties.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AccentColor

accent-color.

§

AlignContent

align-content.

§

AlignItems

align-items.

§

AlignSelf

align-self.

§

AlignmentBaseline

alignment-baseline.

§

All

all.

§

AnchorName

anchor-name.

§

Animation

animation.

§

AnimationComposition

animation-composition.

§

AnimationDelay

animation-delay.

§

AnimationDirection

animation-direction.

§

AnimationDuration

animation-duration.

§

AnimationFillMode

animation-fill-mode.

§

AnimationIterationCount

animation-iteration-count.

§

AnimationName

animation-name.

§

AnimationPlayState

animation-play-state.

§

AnimationTimingFunction

animation-timing-function.

§

AnimationTrigger

animation-trigger.

§

Appearance

appearance.

§

AspectRatio

aspect-ratio.

§

BackdropFilter

backdrop-filter.

§

BackfaceVisibility

backface-visibility.

§

Background

background.

§

BackgroundAttachment

background-attachment.

§

BackgroundBlendMode

background-blend-mode.

§

BackgroundClip

background-clip.

§

BackgroundColor

background-color.

§

BackgroundImage

background-image.

§

BackgroundOrigin

background-origin.

§

BackgroundPosition

background-position.

§

BackgroundPositionX

background-position-x.

§

BackgroundPositionY

background-position-y.

§

BackgroundRepeat

background-repeat.

§

BackgroundSize

background-size.

§

BaselineShift

baseline-shift.

§

BaselineSource

baseline-source.

§

BlockSize

block-size.

§

Border

border.

§

BorderBlock

border-block.

§

BorderBlockColor

border-block-color.

§

BorderBlockEnd

border-block-end.

§

BorderBlockEndColor

border-block-end-color.

§

BorderBlockEndStyle

border-block-end-style.

§

BorderBlockEndWidth

border-block-end-width.

§

BorderBlockStart

border-block-start.

§

BorderBlockStartColor

border-block-start-color.

§

BorderBlockStartStyle

border-block-start-style.

§

BorderBlockStartWidth

border-block-start-width.

§

BorderBlockStyle

border-block-style.

§

BorderBlockWidth

border-block-width.

§

BorderBottom

border-bottom.

§

BorderBottomColor

border-bottom-color.

§

BorderBottomLeftRadius

border-bottom-left-radius.

§

BorderBottomRightRadius

border-bottom-right-radius.

§

BorderBottomStyle

border-bottom-style.

§

BorderBottomWidth

border-bottom-width.

§

BorderCollapse

border-collapse.

§

BorderColor

border-color.

§

BorderEndEndRadius

border-end-end-radius.

§

BorderEndStartRadius

border-end-start-radius.

§

BorderImage

border-image.

§

BorderImageOutset

border-image-outset.

§

BorderImageRepeat

border-image-repeat.

§

BorderImageSlice

border-image-slice.

§

BorderImageSource

border-image-source.

§

BorderImageWidth

border-image-width.

§

BorderInline

border-inline.

§

BorderInlineColor

border-inline-color.

§

BorderInlineEnd

border-inline-end.

§

BorderInlineEndColor

border-inline-end-color.

§

BorderInlineEndStyle

border-inline-end-style.

§

BorderInlineEndWidth

border-inline-end-width.

§

BorderInlineStart

border-inline-start.

§

BorderInlineStartColor

border-inline-start-color.

§

BorderInlineStartStyle

border-inline-start-style.

§

BorderInlineStartWidth

border-inline-start-width.

§

BorderInlineStyle

border-inline-style.

§

BorderInlineWidth

border-inline-width.

§

BorderLeft

border-left.

§

BorderLeftColor

border-left-color.

§

BorderLeftStyle

border-left-style.

§

BorderLeftWidth

border-left-width.

§

BorderRadius

border-radius.

§

BorderRight

border-right.

§

BorderRightColor

border-right-color.

§

BorderRightStyle

border-right-style.

§

BorderRightWidth

border-right-width.

§

BorderShape

border-shape.

§

BorderSpacing

border-spacing.

§

BorderStartEndRadius

border-start-end-radius.

§

BorderStartStartRadius

border-start-start-radius.

§

BorderStyle

border-style.

§

BorderTop

border-top.

§

BorderTopColor

border-top-color.

§

BorderTopLeftRadius

border-top-left-radius.

§

BorderTopRightRadius

border-top-right-radius.

§

BorderTopStyle

border-top-style.

§

BorderTopWidth

border-top-width.

§

BorderWidth

border-width.

§

Bottom

bottom.

§

BoxDecorationBreak

box-decoration-break.

§

BoxShadow

box-shadow.

§

BoxSizing

box-sizing.

§

BreakAfter

break-after.

§

BreakBefore

break-before.

§

BreakInside

break-inside.

§

CaptionSide

caption-side.

§

Caret

caret.

§

CaretAnimation

caret-animation.

§

CaretColor

caret-color.

§

CaretShape

caret-shape.

§

Clear

clear.

§

ClipPath

clip-path.

§

ClipRule

clip-rule.

§

Color

color.

§

ColorInterpolationFilters

color-interpolation-filters.

§

ColorScheme

color-scheme.

§

ColumnCount

column-count.

§

ColumnFill

column-fill.

§

ColumnGap

column-gap.

§

ColumnHeight

column-height.

§

ColumnRule

column-rule.

§

ColumnRuleColor

column-rule-color.

§

ColumnRuleStyle

column-rule-style.

§

ColumnRuleWidth

column-rule-width.

§

ColumnSpan

column-span.

§

ColumnWidth

column-width.

§

ColumnWrap

column-wrap.

§

Columns

columns.

§

Contain

contain.

§

ContainIntrinsicBlockSize

contain-intrinsic-block-size.

§

ContainIntrinsicHeight

contain-intrinsic-height.

§

ContainIntrinsicInlineSize

contain-intrinsic-inline-size.

§

ContainIntrinsicSize

contain-intrinsic-size.

§

ContainIntrinsicWidth

contain-intrinsic-width.

§

Container

container.

§

ContainerName

container-name.

§

ContainerType

container-type.

§

Content

content.

§

ContentVisibility

content-visibility.

§

CornerBlockEndShape

corner-block-end-shape.

§

CornerBlockStartShape

corner-block-start-shape.

§

CornerBottomLeftShape

corner-bottom-left-shape.

§

CornerBottomRightShape

corner-bottom-right-shape.

§

CornerBottomShape

corner-bottom-shape.

§

CornerEndEndShape

corner-end-end-shape.

§

CornerEndStartShape

corner-end-start-shape.

§

CornerInlineEndShape

corner-inline-end-shape.

§

CornerInlineStartShape

corner-inline-start-shape.

§

CornerLeftShape

corner-left-shape.

§

CornerRightShape

corner-right-shape.

§

CornerShape

corner-shape.

§

CornerStartEndShape

corner-start-end-shape.

§

CornerStartStartShape

corner-start-start-shape.

§

CornerTopLeftShape

corner-top-left-shape.

§

CornerTopRightShape

corner-top-right-shape.

§

CornerTopShape

corner-top-shape.

§

CounterIncrement

counter-increment.

§

CounterReset

counter-reset.

§

CounterSet

counter-set.

§

Cursor

cursor.

§

Cx

cx.

§

Cy

cy.

§

D

d.

§

Direction

direction.

§

Display

display.

§

DominantBaseline

dominant-baseline.

§

DynamicRangeLimit

dynamic-range-limit.

§

EmptyCells

empty-cells.

§

Fill

fill.

§

FillOpacity

fill-opacity.

§

FillRule

fill-rule.

§

Filter

filter.

§

Flex

flex.

§

FlexBasis

flex-basis.

§

FlexDirection

flex-direction.

§

FlexFlow

flex-flow.

§

FlexGrow

flex-grow.

§

FlexLineCount

flex-line-count.

§

FlexShrink

flex-shrink.

§

FlexWrap

flex-wrap.

§

Float

float.

§

FloodColor

flood-color.

§

FloodOpacity

flood-opacity.

§

Font

font.

§

FontFamily

font-family.

§

FontFeatureSettings

font-feature-settings.

§

FontKerning

font-kerning.

§

FontLanguageOverride

font-language-override.

§

FontOpticalSizing

font-optical-sizing.

§

FontPalette

font-palette.

§

FontSize

font-size.

§

FontSizeAdjust

font-size-adjust.

§

FontStyle

font-style.

§

FontSynthesis

font-synthesis.

§

FontSynthesisSmallCaps

font-synthesis-small-caps.

§

FontSynthesisStyle

font-synthesis-style.

§

FontSynthesisWeight

font-synthesis-weight.

§

FontVariant

font-variant.

§

FontVariantAlternates

font-variant-alternates.

§

FontVariantCaps

font-variant-caps.

§

FontVariantEastAsian

font-variant-east-asian.

§

FontVariantEmoji

font-variant-emoji.

§

FontVariantLigatures

font-variant-ligatures.

§

FontVariantNumeric

font-variant-numeric.

§

FontVariantPosition

font-variant-position.

§

FontVariationSettings

font-variation-settings.

§

FontWeight

font-weight.

§

ForcedColorAdjust

forced-color-adjust.

§

FrameSizing

frame-sizing.

§

Gap

gap.

§

Grid

grid.

§

GridArea

grid-area.

§

GridAutoColumns

grid-auto-columns.

§

GridAutoFlow

grid-auto-flow.

§

GridAutoRows

grid-auto-rows.

§

GridColumn

grid-column.

§

GridColumnEnd

grid-column-end.

§

GridColumnStart

grid-column-start.

§

GridRow

grid-row.

§

GridRowEnd

grid-row-end.

§

GridRowStart

grid-row-start.

§

GridTemplate

grid-template.

§

GridTemplateAreas

grid-template-areas.

§

GridTemplateColumns

grid-template-columns.

§

GridTemplateRows

grid-template-rows.

§

HangingPunctuation

hanging-punctuation.

§

Height

height.

§

HyphenateCharacter

hyphenate-character.

§

HyphenateLimitChars

hyphenate-limit-chars.

§

Hyphens

hyphens.

§

ImageOrientation

image-orientation.

§

ImageRendering

image-rendering.

§

InitialLetter

initial-letter.

§

InlineSize

inline-size.

§

Inset

inset.

§

InsetBlock

inset-block.

§

InsetBlockEnd

inset-block-end.

§

InsetBlockStart

inset-block-start.

§

InsetInline

inset-inline.

§

InsetInlineEnd

inset-inline-end.

§

InsetInlineStart

inset-inline-start.

§

Interactivity

interactivity.

§

InterestDelay

interest-delay.

§

InterestDelayEnd

interest-delay-end.

§

InterestDelayStart

interest-delay-start.

§

Isolation

isolation.

§

JustifyContent

justify-content.

§

JustifyItems

justify-items.

§

JustifySelf

justify-self.

§

Left

left.

§

LetterSpacing

letter-spacing.

§

LightingColor

lighting-color.

§

LineBreak

line-break.

§

LineClamp

line-clamp.

§

LineHeight

line-height.

§

ListStyle

list-style.

§

ListStyleImage

list-style-image.

§

ListStylePosition

list-style-position.

§

ListStyleType

list-style-type.

§

Margin

margin.

§

MarginBlock

margin-block.

§

MarginBlockEnd

margin-block-end.

§

MarginBlockStart

margin-block-start.

§

MarginBottom

margin-bottom.

§

MarginInline

margin-inline.

§

MarginInlineEnd

margin-inline-end.

§

MarginInlineStart

margin-inline-start.

§

MarginLeft

margin-left.

§

MarginRight

margin-right.

§

MarginTop

margin-top.

§

Marker

marker.

§

MarkerEnd

marker-end.

§

MarkerMid

marker-mid.

§

MarkerStart

marker-start.

§

Mask

mask.

§

MaskBorder

mask-border.

§

MaskBorderMode

mask-border-mode.

§

MaskBorderOutset

mask-border-outset.

§

MaskBorderRepeat

mask-border-repeat.

§

MaskBorderSlice

mask-border-slice.

§

MaskBorderSource

mask-border-source.

§

MaskBorderWidth

mask-border-width.

§

MaskClip

mask-clip.

§

MaskComposite

mask-composite.

§

MaskImage

mask-image.

§

MaskMode

mask-mode.

§

MaskOrigin

mask-origin.

§

MaskPosition

mask-position.

§

MaskRepeat

mask-repeat.

§

MaskSize

mask-size.

§

MaskType

mask-type.

§

MathDepth

math-depth.

§

MathStyle

math-style.

§

MaxBlockSize

max-block-size.

§

MaxHeight

max-height.

§

MaxInlineSize

max-inline-size.

§

MaxWidth

max-width.

§

MinBlockSize

min-block-size.

§

MinHeight

min-height.

§

MinInlineSize

min-inline-size.

§

MinWidth

min-width.

§

MixBlendMode

mix-blend-mode.

§

ObjectFit

object-fit.

§

ObjectPosition

object-position.

§

Offset

offset.

§

OffsetAnchor

offset-anchor.

§

OffsetDistance

offset-distance.

§

OffsetPath

offset-path.

§

OffsetPosition

offset-position.

§

OffsetRotate

offset-rotate.

§

Opacity

opacity.

§

Order

order.

§

Orphans

orphans.

§

Outline

outline.

§

OutlineColor

outline-color.

§

OutlineOffset

outline-offset.

§

OutlineStyle

outline-style.

§

OutlineWidth

outline-width.

§

Overflow

overflow.

§

OverflowAnchor

overflow-anchor.

§

OverflowBlock

overflow-block.

§

OverflowClipMargin

overflow-clip-margin.

§

OverflowInline

overflow-inline.

§

OverflowWrap

overflow-wrap.

§

OverflowX

overflow-x.

§

OverflowY

overflow-y.

§

OverscrollBehavior

overscroll-behavior.

§

OverscrollBehaviorBlock

overscroll-behavior-block.

§

OverscrollBehaviorInline

overscroll-behavior-inline.

§

OverscrollBehaviorX

overscroll-behavior-x.

§

OverscrollBehaviorY

overscroll-behavior-y.

§

Padding

padding.

§

PaddingBlock

padding-block.

§

PaddingBlockEnd

padding-block-end.

§

PaddingBlockStart

padding-block-start.

§

PaddingBottom

padding-bottom.

§

PaddingInline

padding-inline.

§

PaddingInlineEnd

padding-inline-end.

§

PaddingInlineStart

padding-inline-start.

§

PaddingLeft

padding-left.

§

PaddingRight

padding-right.

§

PaddingTop

padding-top.

§

Page

page.

§

PaintOrder

paint-order.

§

PathLength

path-length.

§

Perspective

perspective.

§

PerspectiveOrigin

perspective-origin.

§

PlaceContent

place-content.

§

PlaceItems

place-items.

§

PlaceSelf

place-self.

§

PointerEvents

pointer-events.

§

Position

position.

§

PositionAnchor

position-anchor.

§

PositionArea

position-area.

§

PositionTryFallbacks

position-try-fallbacks.

§

PrintColorAdjust

print-color-adjust.

§

Quotes

quotes.

§

R

r.

§

ReadingFlow

reading-flow.

§

ReadingOrder

reading-order.

§

Resize

resize.

§

Right

right.

§

Rotate

rotate.

§

RowGap

row-gap.

§

RubyAlign

ruby-align.

§

RubyOverhang

ruby-overhang.

§

RubyPosition

ruby-position.

§

Rx

rx.

§

Ry

ry.

§

Scale

scale.

§

ScrollAxisLock

scroll-axis-lock.

§

ScrollBehavior

scroll-behavior.

§

ScrollMargin

scroll-margin.

§

ScrollMarginBlock

scroll-margin-block.

§

ScrollMarginBlockEnd

scroll-margin-block-end.

§

ScrollMarginBlockStart

scroll-margin-block-start.

§

ScrollMarginBottom

scroll-margin-bottom.

§

ScrollMarginInline

scroll-margin-inline.

§

ScrollMarginInlineEnd

scroll-margin-inline-end.

§

ScrollMarginInlineStart

scroll-margin-inline-start.

§

ScrollMarginLeft

scroll-margin-left.

§

ScrollMarginRight

scroll-margin-right.

§

ScrollMarginTop

scroll-margin-top.

§

ScrollMarkerGroup

scroll-marker-group.

§

ScrollPadding

scroll-padding.

§

ScrollPaddingBlock

scroll-padding-block.

§

ScrollPaddingBlockEnd

scroll-padding-block-end.

§

ScrollPaddingBlockStart

scroll-padding-block-start.

§

ScrollPaddingBottom

scroll-padding-bottom.

§

ScrollPaddingInline

scroll-padding-inline.

§

ScrollPaddingInlineEnd

scroll-padding-inline-end.

§

ScrollPaddingInlineStart

scroll-padding-inline-start.

§

ScrollPaddingLeft

scroll-padding-left.

§

ScrollPaddingRight

scroll-padding-right.

§

ScrollPaddingTop

scroll-padding-top.

§

ScrollSnapAlign

scroll-snap-align.

§

ScrollSnapStop

scroll-snap-stop.

§

ScrollSnapType

scroll-snap-type.

§

ScrollTargetGroup

scroll-target-group.

§

ScrollbarColor

scrollbar-color.

§

ScrollbarGutter

scrollbar-gutter.

§

ScrollbarWidth

scrollbar-width.

§

ShapeImageThreshold

shape-image-threshold.

§

ShapeMargin

shape-margin.

§

ShapeOutside

shape-outside.

§

ShapeRendering

shape-rendering.

§

StopColor

stop-color.

§

StopOpacity

stop-opacity.

§

Stroke

stroke.

§

StrokeDasharray

stroke-dasharray.

§

StrokeDashoffset

stroke-dashoffset.

§

StrokeLinecap

stroke-linecap.

§

StrokeLinejoin

stroke-linejoin.

§

StrokeMiterlimit

stroke-miterlimit.

§

StrokeOpacity

stroke-opacity.

§

StrokeWidth

stroke-width.

§

TabSize

tab-size.

§

TableLayout

table-layout.

§

TextAlign

text-align.

§

TextAlignLast

text-align-last.

§

TextAnchor

text-anchor.

§

TextAutospace

text-autospace.

§

TextBox

text-box.

§

TextBoxEdge

text-box-edge.

§

TextBoxTrim

text-box-trim.

§

TextCombineUpright

text-combine-upright.

§

TextDecoration

text-decoration.

§

TextDecorationColor

text-decoration-color.

§

TextDecorationInset

text-decoration-inset.

§

TextDecorationLine

text-decoration-line.

§

TextDecorationSkipInk

text-decoration-skip-ink.

§

TextDecorationStyle

text-decoration-style.

§

TextDecorationThickness

text-decoration-thickness.

§

TextEmphasis

text-emphasis.

§

TextEmphasisColor

text-emphasis-color.

§

TextEmphasisPosition

text-emphasis-position.

§

TextEmphasisStyle

text-emphasis-style.

§

TextFit

text-fit.

§

TextIndent

text-indent.

§

TextJustify

text-justify.

§

TextOrientation

text-orientation.

§

TextOverflow

text-overflow.

§

TextRendering

text-rendering.

§

TextShadow

text-shadow.

§

TextTransform

text-transform.

§

TextUnderlineOffset

text-underline-offset.

§

TextUnderlinePosition

text-underline-position.

§

TextWrap

text-wrap.

§

TextWrapMode

text-wrap-mode.

§

TextWrapStyle

text-wrap-style.

§

TimelineTrigger

timeline-trigger.

§

TimelineTriggerActivationRange

timeline-trigger-activation-range.

§

TimelineTriggerActivationRangeEnd

timeline-trigger-activation-range-end.

§

TimelineTriggerActivationRangeStart

timeline-trigger-activation-range-start.

§

TimelineTriggerActiveRange

timeline-trigger-active-range.

§

TimelineTriggerActiveRangeEnd

timeline-trigger-active-range-end.

§

TimelineTriggerActiveRangeStart

timeline-trigger-active-range-start.

§

TimelineTriggerName

timeline-trigger-name.

§

TimelineTriggerSource

timeline-trigger-source.

§

Top

top.

§

TouchAction

touch-action.

§

Transform

transform.

§

TransformBox

transform-box.

§

TransformOrigin

transform-origin.

§

TransformStyle

transform-style.

§

Transition

transition.

§

TransitionBehavior

transition-behavior.

§

TransitionDelay

transition-delay.

§

TransitionDuration

transition-duration.

§

TransitionProperty

transition-property.

§

TransitionTimingFunction

transition-timing-function.

§

Translate

translate.

§

TriggerScope

trigger-scope.

§

UnicodeBidi

unicode-bidi.

§

UserSelect

user-select.

§

VectorEffect

vector-effect.

§

VerticalAlign

vertical-align.

§

ViewTransitionClass

view-transition-class.

§

ViewTransitionName

view-transition-name.

§

ViewTransitionScope

view-transition-scope.

§

Visibility

visibility.

§

WhiteSpace

white-space.

§

WhiteSpaceCollapse

white-space-collapse.

§

Widows

widows.

§

Width

width.

§

WillChange

will-change.

§

WindowDrag

window-drag.

§

WordBreak

word-break.

§

WordSpacing

word-spacing.

§

WordWrap

word-wrap.

§

WritingMode

writing-mode.

§

X

x.

§

Y

y.

§

ZIndex

z-index.

§

Zoom

zoom.

Implementations§

Source§

impl Property

Source

pub fn name(self) -> &'static str

The name as written in a stylesheet.

Trait Implementations§

Source§

impl Clone for Property

Source§

fn clone(&self) -> Property

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Property

Source§

impl Debug for Property

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Property

Source§

impl Hash for Property

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Property

Source§

fn cmp(&self, other: &Property) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Property

Source§

fn eq(&self, other: &Property) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for Property

Source§

fn partial_cmp(&self, other: &Property) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for Property

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.