Enum PropertyId

Source
pub enum PropertyId<'i> {
Show 347 variants BackgroundColor, BackgroundImage, BackgroundPositionX, BackgroundPositionY, BackgroundPosition, BackgroundSize, BackgroundRepeat, BackgroundAttachment, BackgroundClip(VendorPrefix), BackgroundOrigin, Background, BoxShadow(VendorPrefix), Opacity, Color, Display, Visibility, Width, Height, MinWidth, MinHeight, MaxWidth, MaxHeight, BlockSize, InlineSize, MinBlockSize, MinInlineSize, MaxBlockSize, MaxInlineSize, BoxSizing(VendorPrefix), AspectRatio, Overflow, OverflowX, OverflowY, TextOverflow(VendorPrefix), Position, Top, Bottom, Left, Right, InsetBlockStart, InsetBlockEnd, InsetInlineStart, InsetInlineEnd, InsetBlock, InsetInline, Inset, BorderSpacing, BorderTopColor, BorderBottomColor, BorderLeftColor, BorderRightColor, BorderBlockStartColor, BorderBlockEndColor, BorderInlineStartColor, BorderInlineEndColor, BorderTopStyle, BorderBottomStyle, BorderLeftStyle, BorderRightStyle, BorderBlockStartStyle, BorderBlockEndStyle, BorderInlineStartStyle, BorderInlineEndStyle, BorderTopWidth, BorderBottomWidth, BorderLeftWidth, BorderRightWidth, BorderBlockStartWidth, BorderBlockEndWidth, BorderInlineStartWidth, BorderInlineEndWidth, BorderTopLeftRadius(VendorPrefix), BorderTopRightRadius(VendorPrefix), BorderBottomLeftRadius(VendorPrefix), BorderBottomRightRadius(VendorPrefix), BorderStartStartRadius, BorderStartEndRadius, BorderEndStartRadius, BorderEndEndRadius, BorderRadius(VendorPrefix), BorderImageSource, BorderImageOutset, BorderImageRepeat, BorderImageWidth, BorderImageSlice, BorderImage(VendorPrefix), BorderColor, BorderStyle, BorderWidth, BorderBlockColor, BorderBlockStyle, BorderBlockWidth, BorderInlineColor, BorderInlineStyle, BorderInlineWidth, Border, BorderTop, BorderBottom, BorderLeft, BorderRight, BorderBlock, BorderBlockStart, BorderBlockEnd, BorderInline, BorderInlineStart, BorderInlineEnd, Outline, OutlineColor, OutlineStyle, OutlineWidth, FlexDirection(VendorPrefix), FlexWrap(VendorPrefix), FlexFlow(VendorPrefix), FlexGrow(VendorPrefix), FlexShrink(VendorPrefix), FlexBasis(VendorPrefix), Flex(VendorPrefix), Order(VendorPrefix), AlignContent(VendorPrefix), JustifyContent(VendorPrefix), PlaceContent, AlignSelf(VendorPrefix), JustifySelf, PlaceSelf, AlignItems(VendorPrefix), JustifyItems, PlaceItems, RowGap, ColumnGap, Gap, BoxOrient(VendorPrefix), BoxDirection(VendorPrefix), BoxOrdinalGroup(VendorPrefix), BoxAlign(VendorPrefix), BoxFlex(VendorPrefix), BoxFlexGroup(VendorPrefix), BoxPack(VendorPrefix), BoxLines(VendorPrefix), FlexPack(VendorPrefix), FlexOrder(VendorPrefix), FlexAlign(VendorPrefix), FlexItemAlign(VendorPrefix), FlexLinePack(VendorPrefix), FlexPositive(VendorPrefix), FlexNegative(VendorPrefix), FlexPreferredSize(VendorPrefix), GridTemplateColumns, GridTemplateRows, GridAutoColumns, GridAutoRows, GridAutoFlow, GridTemplateAreas, GridTemplate, Grid, GridRowStart, GridRowEnd, GridColumnStart, GridColumnEnd, GridRow, GridColumn, GridArea, MarginTop, MarginBottom, MarginLeft, MarginRight, MarginBlockStart, MarginBlockEnd, MarginInlineStart, MarginInlineEnd, MarginBlock, MarginInline, Margin, PaddingTop, PaddingBottom, PaddingLeft, PaddingRight, PaddingBlockStart, PaddingBlockEnd, PaddingInlineStart, PaddingInlineEnd, PaddingBlock, PaddingInline, Padding, ScrollMarginTop, ScrollMarginBottom, ScrollMarginLeft, ScrollMarginRight, ScrollMarginBlockStart, ScrollMarginBlockEnd, ScrollMarginInlineStart, ScrollMarginInlineEnd, ScrollMarginBlock, ScrollMarginInline, ScrollMargin, ScrollPaddingTop, ScrollPaddingBottom, ScrollPaddingLeft, ScrollPaddingRight, ScrollPaddingBlockStart, ScrollPaddingBlockEnd, ScrollPaddingInlineStart, ScrollPaddingInlineEnd, ScrollPaddingBlock, ScrollPaddingInline, ScrollPadding, FontWeight, FontSize, FontStretch, FontFamily, FontStyle, FontVariantCaps, LineHeight, Font, VerticalAlign, FontPalette, TransitionProperty(VendorPrefix), TransitionDuration(VendorPrefix), TransitionDelay(VendorPrefix), TransitionTimingFunction(VendorPrefix), Transition(VendorPrefix), AnimationName(VendorPrefix), AnimationDuration(VendorPrefix), AnimationTimingFunction(VendorPrefix), AnimationIterationCount(VendorPrefix), AnimationDirection(VendorPrefix), AnimationPlayState(VendorPrefix), AnimationDelay(VendorPrefix), AnimationFillMode(VendorPrefix), AnimationComposition, AnimationTimeline, AnimationRangeStart, AnimationRangeEnd, AnimationRange, Animation(VendorPrefix), Transform(VendorPrefix), TransformOrigin(VendorPrefix), TransformStyle(VendorPrefix), TransformBox, BackfaceVisibility(VendorPrefix), Perspective(VendorPrefix), PerspectiveOrigin(VendorPrefix), Translate, Rotate, Scale, TextTransform, WhiteSpace, TabSize(VendorPrefix), WordBreak, LineBreak, Hyphens(VendorPrefix), OverflowWrap, WordWrap, TextAlign, TextAlignLast(VendorPrefix), TextJustify, WordSpacing, LetterSpacing, TextIndent, TextDecorationLine(VendorPrefix), TextDecorationStyle(VendorPrefix), TextDecorationColor(VendorPrefix), TextDecorationThickness, TextDecoration(VendorPrefix), TextDecorationSkipInk(VendorPrefix), TextEmphasisStyle(VendorPrefix), TextEmphasisColor(VendorPrefix), TextEmphasis(VendorPrefix), TextEmphasisPosition(VendorPrefix), TextShadow, TextSizeAdjust(VendorPrefix), Direction, UnicodeBidi, BoxDecorationBreak(VendorPrefix), Resize, Cursor, CaretColor, CaretShape, Caret, UserSelect(VendorPrefix), AccentColor, Appearance(VendorPrefix), ListStyleType, ListStyleImage, ListStylePosition, ListStyle, MarkerSide, Composes, Fill, FillRule, FillOpacity, Stroke, StrokeOpacity, StrokeWidth, StrokeLinecap, StrokeLinejoin, StrokeMiterlimit, StrokeDasharray, StrokeDashoffset, MarkerStart, MarkerMid, MarkerEnd, Marker, ColorInterpolation, ColorInterpolationFilters, ColorRendering, ShapeRendering, TextRendering, ImageRendering, ClipPath(VendorPrefix), ClipRule, MaskImage(VendorPrefix), MaskMode, MaskRepeat(VendorPrefix), MaskPositionX, MaskPositionY, MaskPosition(VendorPrefix), MaskClip(VendorPrefix), MaskOrigin(VendorPrefix), MaskSize(VendorPrefix), MaskComposite, MaskType, Mask(VendorPrefix), MaskBorderSource, MaskBorderMode, MaskBorderSlice, MaskBorderWidth, MaskBorderOutset, MaskBorderRepeat, MaskBorder, WebKitMaskComposite, WebKitMaskSourceType(VendorPrefix), WebKitMaskBoxImage(VendorPrefix), WebKitMaskBoxImageSource(VendorPrefix), WebKitMaskBoxImageSlice(VendorPrefix), WebKitMaskBoxImageWidth(VendorPrefix), WebKitMaskBoxImageOutset(VendorPrefix), WebKitMaskBoxImageRepeat(VendorPrefix), Filter(VendorPrefix), BackdropFilter(VendorPrefix), ZIndex, ContainerType, ContainerName, Container, ViewTransitionName, ColorScheme, All, Custom(CustomPropertyName<'i>),
}
Expand description

A CSS property id.

Variants§

§

BackgroundColor

The background-color property.

§

BackgroundImage

The background-image property.

§

BackgroundPositionX

The background-position-x property.

§

BackgroundPositionY

The background-position-y property.

§

BackgroundPosition

The background-position property.

§

BackgroundSize

The background-size property.

§

BackgroundRepeat

The background-repeat property.

§

BackgroundAttachment

The background-attachment property.

§

BackgroundClip(VendorPrefix)

The background-clip property.

§

BackgroundOrigin

The background-origin property.

§

Background

The background property.

§

BoxShadow(VendorPrefix)

The box-shadow property.

§

Opacity

The opacity property.

§

Color

The color property.

§

Display

The display property.

§

Visibility

The visibility property.

§

Width

The width property.

§

Height

The height property.

§

MinWidth

The min-width property.

§

MinHeight

The min-height property.

§

MaxWidth

The max-width property.

§

MaxHeight

The max-height property.

§

BlockSize

The block-size property.

§

InlineSize

The inline-size property.

§

MinBlockSize

The min-block-size property.

§

MinInlineSize

The min-inline-size property.

§

MaxBlockSize

The max-block-size property.

§

MaxInlineSize

The max-inline-size property.

§

BoxSizing(VendorPrefix)

The box-sizing property.

§

AspectRatio

The aspect-ratio property.

§

Overflow

The overflow property.

§

OverflowX

The overflow-x property.

§

OverflowY

The overflow-y property.

§

TextOverflow(VendorPrefix)

The text-overflow property.

§

Position

The position property.

§

Top

The top property.

§

Bottom

The bottom property.

§

Left

The left property.

§

Right

The right property.

§

InsetBlockStart

The inset-block-start property.

§

InsetBlockEnd

The inset-block-end property.

§

InsetInlineStart

The inset-inline-start property.

§

InsetInlineEnd

The inset-inline-end property.

§

InsetBlock

The inset-block property.

§

InsetInline

The inset-inline property.

§

Inset

The inset property.

§

BorderSpacing

The border-spacing property.

§

BorderTopColor

The border-top-color property.

§

BorderBottomColor

The border-bottom-color property.

§

BorderLeftColor

The border-left-color property.

§

BorderRightColor

The border-right-color property.

§

BorderBlockStartColor

The border-block-start-color property.

§

BorderBlockEndColor

The border-block-end-color property.

§

BorderInlineStartColor

The border-inline-start-color property.

§

BorderInlineEndColor

The border-inline-end-color property.

§

BorderTopStyle

The border-top-style property.

§

BorderBottomStyle

The border-bottom-style property.

§

BorderLeftStyle

The border-left-style property.

§

BorderRightStyle

The border-right-style property.

§

BorderBlockStartStyle

The border-block-start-style property.

§

BorderBlockEndStyle

The border-block-end-style property.

§

BorderInlineStartStyle

The border-inline-start-style property.

§

BorderInlineEndStyle

The border-inline-end-style property.

§

BorderTopWidth

The border-top-width property.

§

BorderBottomWidth

The border-bottom-width property.

§

BorderLeftWidth

The border-left-width property.

§

BorderRightWidth

The border-right-width property.

§

BorderBlockStartWidth

The border-block-start-width property.

§

BorderBlockEndWidth

The border-block-end-width property.

§

BorderInlineStartWidth

The border-inline-start-width property.

§

BorderInlineEndWidth

The border-inline-end-width property.

§

BorderTopLeftRadius(VendorPrefix)

The border-top-left-radius property.

§

BorderTopRightRadius(VendorPrefix)

The border-top-right-radius property.

§

BorderBottomLeftRadius(VendorPrefix)

The border-bottom-left-radius property.

§

BorderBottomRightRadius(VendorPrefix)

The border-bottom-right-radius property.

§

BorderStartStartRadius

The border-start-start-radius property.

§

BorderStartEndRadius

The border-start-end-radius property.

§

BorderEndStartRadius

The border-end-start-radius property.

§

BorderEndEndRadius

The border-end-end-radius property.

§

BorderRadius(VendorPrefix)

The border-radius property.

§

BorderImageSource

The border-image-source property.

§

BorderImageOutset

The border-image-outset property.

§

BorderImageRepeat

The border-image-repeat property.

§

BorderImageWidth

The border-image-width property.

§

BorderImageSlice

The border-image-slice property.

§

BorderImage(VendorPrefix)

The border-image property.

§

BorderColor

The border-color property.

§

BorderStyle

The border-style property.

§

BorderWidth

The border-width property.

§

BorderBlockColor

The border-block-color property.

§

BorderBlockStyle

The border-block-style property.

§

BorderBlockWidth

The border-block-width property.

§

BorderInlineColor

The border-inline-color property.

§

BorderInlineStyle

The border-inline-style property.

§

BorderInlineWidth

The border-inline-width property.

§

Border

The border property.

§

BorderTop

The border-top property.

§

BorderBottom

The border-bottom property.

§

BorderLeft

The border-left property.

§

BorderRight

The border-right property.

§

BorderBlock

The border-block property.

§

BorderBlockStart

The border-block-start property.

§

BorderBlockEnd

The border-block-end property.

§

BorderInline

The border-inline property.

§

BorderInlineStart

The border-inline-start property.

§

BorderInlineEnd

The border-inline-end property.

§

Outline

The outline property.

§

OutlineColor

The outline-color property.

§

OutlineStyle

The outline-style property.

§

OutlineWidth

The outline-width property.

§

FlexDirection(VendorPrefix)

The flex-direction property.

§

FlexWrap(VendorPrefix)

The flex-wrap property.

§

FlexFlow(VendorPrefix)

The flex-flow property.

§

FlexGrow(VendorPrefix)

The flex-grow property.

§

FlexShrink(VendorPrefix)

The flex-shrink property.

§

FlexBasis(VendorPrefix)

The flex-basis property.

§

Flex(VendorPrefix)

The flex property.

§

Order(VendorPrefix)

The order property.

§

AlignContent(VendorPrefix)

The align-content property.

§

JustifyContent(VendorPrefix)

The justify-content property.

§

PlaceContent

The place-content property.

§

AlignSelf(VendorPrefix)

The align-self property.

§

JustifySelf

The justify-self property.

§

PlaceSelf

The place-self property.

§

AlignItems(VendorPrefix)

The align-items property.

§

JustifyItems

The justify-items property.

§

PlaceItems

The place-items property.

§

RowGap

The row-gap property.

§

ColumnGap

The column-gap property.

§

Gap

The gap property.

§

BoxOrient(VendorPrefix)

The box-orient property.

§

BoxDirection(VendorPrefix)

The box-direction property.

§

BoxOrdinalGroup(VendorPrefix)

The box-ordinal-group property.

§

BoxAlign(VendorPrefix)

The box-align property.

§

BoxFlex(VendorPrefix)

The box-flex property.

§

BoxFlexGroup(VendorPrefix)

The box-flex-group property.

§

BoxPack(VendorPrefix)

The box-pack property.

§

BoxLines(VendorPrefix)

The box-lines property.

§

FlexPack(VendorPrefix)

The flex-pack property.

§

FlexOrder(VendorPrefix)

The flex-order property.

§

FlexAlign(VendorPrefix)

The flex-align property.

§

FlexItemAlign(VendorPrefix)

The flex-item-align property.

§

FlexLinePack(VendorPrefix)

The flex-line-pack property.

§

FlexPositive(VendorPrefix)

The flex-positive property.

§

FlexNegative(VendorPrefix)

The flex-negative property.

§

FlexPreferredSize(VendorPrefix)

The flex-preferred-size property.

§

GridTemplateColumns

Available on crate feature grid only.

The grid-template-columns property.

§

GridTemplateRows

Available on crate feature grid only.

The grid-template-rows property.

§

GridAutoColumns

Available on crate feature grid only.

The grid-auto-columns property.

§

GridAutoRows

Available on crate feature grid only.

The grid-auto-rows property.

§

GridAutoFlow

Available on crate feature grid only.

The grid-auto-flow property.

§

GridTemplateAreas

Available on crate feature grid only.

The grid-template-areas property.

§

GridTemplate

Available on crate feature grid only.

The grid-template property.

§

Grid

Available on crate feature grid only.

The grid property.

§

GridRowStart

Available on crate feature grid only.

The grid-row-start property.

§

GridRowEnd

Available on crate feature grid only.

The grid-row-end property.

§

GridColumnStart

Available on crate feature grid only.

The grid-column-start property.

§

GridColumnEnd

Available on crate feature grid only.

The grid-column-end property.

§

GridRow

Available on crate feature grid only.

The grid-row property.

§

GridColumn

Available on crate feature grid only.

The grid-column property.

§

GridArea

Available on crate feature grid only.

The grid-area property.

§

MarginTop

The margin-top property.

§

MarginBottom

The margin-bottom property.

§

MarginLeft

The margin-left property.

§

MarginRight

The margin-right property.

§

MarginBlockStart

The margin-block-start property.

§

MarginBlockEnd

The margin-block-end property.

§

MarginInlineStart

The margin-inline-start property.

§

MarginInlineEnd

The margin-inline-end property.

§

MarginBlock

The margin-block property.

§

MarginInline

The margin-inline property.

§

Margin

The margin property.

§

PaddingTop

The padding-top property.

§

PaddingBottom

The padding-bottom property.

§

PaddingLeft

The padding-left property.

§

PaddingRight

The padding-right property.

§

PaddingBlockStart

The padding-block-start property.

§

PaddingBlockEnd

The padding-block-end property.

§

PaddingInlineStart

The padding-inline-start property.

§

PaddingInlineEnd

The padding-inline-end property.

§

PaddingBlock

The padding-block property.

§

PaddingInline

The padding-inline property.

§

Padding

The padding property.

§

ScrollMarginTop

The scroll-margin-top property.

§

ScrollMarginBottom

The scroll-margin-bottom property.

§

ScrollMarginLeft

The scroll-margin-left property.

§

ScrollMarginRight

The scroll-margin-right property.

§

ScrollMarginBlockStart

The scroll-margin-block-start property.

§

ScrollMarginBlockEnd

The scroll-margin-block-end property.

§

ScrollMarginInlineStart

The scroll-margin-inline-start property.

§

ScrollMarginInlineEnd

The scroll-margin-inline-end property.

§

ScrollMarginBlock

The scroll-margin-block property.

§

ScrollMarginInline

The scroll-margin-inline property.

§

ScrollMargin

The scroll-margin property.

§

ScrollPaddingTop

The scroll-padding-top property.

§

ScrollPaddingBottom

The scroll-padding-bottom property.

§

ScrollPaddingLeft

The scroll-padding-left property.

§

ScrollPaddingRight

The scroll-padding-right property.

§

ScrollPaddingBlockStart

The scroll-padding-block-start property.

§

ScrollPaddingBlockEnd

The scroll-padding-block-end property.

§

ScrollPaddingInlineStart

The scroll-padding-inline-start property.

§

ScrollPaddingInlineEnd

The scroll-padding-inline-end property.

§

ScrollPaddingBlock

The scroll-padding-block property.

§

ScrollPaddingInline

The scroll-padding-inline property.

§

ScrollPadding

The scroll-padding property.

§

FontWeight

The font-weight property.

§

FontSize

The font-size property.

§

FontStretch

The font-stretch property.

§

FontFamily

The font-family property.

§

FontStyle

The font-style property.

§

FontVariantCaps

The font-variant-caps property.

§

LineHeight

The line-height property.

§

Font

The font property.

§

VerticalAlign

The vertical-align property.

§

FontPalette

The font-palette property.

§

TransitionProperty(VendorPrefix)

The transition-property property.

§

TransitionDuration(VendorPrefix)

The transition-duration property.

§

TransitionDelay(VendorPrefix)

The transition-delay property.

§

TransitionTimingFunction(VendorPrefix)

The transition-timing-function property.

§

Transition(VendorPrefix)

The transition property.

§

AnimationName(VendorPrefix)

The animation-name property.

§

AnimationDuration(VendorPrefix)

The animation-duration property.

§

AnimationTimingFunction(VendorPrefix)

The animation-timing-function property.

§

AnimationIterationCount(VendorPrefix)

The animation-iteration-count property.

§

AnimationDirection(VendorPrefix)

The animation-direction property.

§

AnimationPlayState(VendorPrefix)

The animation-play-state property.

§

AnimationDelay(VendorPrefix)

The animation-delay property.

§

AnimationFillMode(VendorPrefix)

The animation-fill-mode property.

§

AnimationComposition

The animation-composition property.

§

AnimationTimeline

The animation-timeline property.

§

AnimationRangeStart

The animation-range-start property.

§

AnimationRangeEnd

The animation-range-end property.

§

AnimationRange

The animation-range property.

§

Animation(VendorPrefix)

The animation property.

§

Transform(VendorPrefix)

The transform property.

§

TransformOrigin(VendorPrefix)

The transform-origin property.

§

TransformStyle(VendorPrefix)

The transform-style property.

§

TransformBox

The transform-box property.

§

BackfaceVisibility(VendorPrefix)

The backface-visibility property.

§

Perspective(VendorPrefix)

The perspective property.

§

PerspectiveOrigin(VendorPrefix)

The perspective-origin property.

§

Translate

The translate property.

§

Rotate

The rotate property.

§

Scale

The scale property.

§

TextTransform

The text-transform property.

§

WhiteSpace

The white-space property.

§

TabSize(VendorPrefix)

The tab-size property.

§

WordBreak

The word-break property.

§

LineBreak

The line-break property.

§

Hyphens(VendorPrefix)

The hyphens property.

§

OverflowWrap

The overflow-wrap property.

§

WordWrap

The word-wrap property.

§

TextAlign

The text-align property.

§

TextAlignLast(VendorPrefix)

The text-align-last property.

§

TextJustify

The text-justify property.

§

WordSpacing

The word-spacing property.

§

LetterSpacing

The letter-spacing property.

§

TextIndent

The text-indent property.

§

TextDecorationLine(VendorPrefix)

The text-decoration-line property.

§

TextDecorationStyle(VendorPrefix)

The text-decoration-style property.

§

TextDecorationColor(VendorPrefix)

The text-decoration-color property.

§

TextDecorationThickness

The text-decoration-thickness property.

§

TextDecoration(VendorPrefix)

The text-decoration property.

§

TextDecorationSkipInk(VendorPrefix)

The text-decoration-skip-ink property.

§

TextEmphasisStyle(VendorPrefix)

The text-emphasis-style property.

§

TextEmphasisColor(VendorPrefix)

The text-emphasis-color property.

§

TextEmphasis(VendorPrefix)

The text-emphasis property.

§

TextEmphasisPosition(VendorPrefix)

The text-emphasis-position property.

§

TextShadow

The text-shadow property.

§

TextSizeAdjust(VendorPrefix)

The text-size-adjust property.

§

Direction

The direction property.

§

UnicodeBidi

The unicode-bidi property.

§

BoxDecorationBreak(VendorPrefix)

The box-decoration-break property.

§

Resize

The resize property.

§

Cursor

The cursor property.

§

CaretColor

The caret-color property.

§

CaretShape

The caret-shape property.

§

Caret

The caret property.

§

UserSelect(VendorPrefix)

The user-select property.

§

AccentColor

The accent-color property.

§

Appearance(VendorPrefix)

The appearance property.

§

ListStyleType

The list-style-type property.

§

ListStyleImage

The list-style-image property.

§

ListStylePosition

The list-style-position property.

§

ListStyle

The list-style property.

§

MarkerSide

The marker-side property.

§

Composes

The composes property.

§

Fill

The fill property.

§

FillRule

The fill-rule property.

§

FillOpacity

The fill-opacity property.

§

Stroke

The stroke property.

§

StrokeOpacity

The stroke-opacity property.

§

StrokeWidth

The stroke-width property.

§

StrokeLinecap

The stroke-linecap property.

§

StrokeLinejoin

The stroke-linejoin property.

§

StrokeMiterlimit

The stroke-miterlimit property.

§

StrokeDasharray

The stroke-dasharray property.

§

StrokeDashoffset

The stroke-dashoffset property.

§

MarkerStart

The marker-start property.

§

MarkerMid

The marker-mid property.

§

MarkerEnd

The marker-end property.

§

Marker

The marker property.

§

ColorInterpolation

The color-interpolation property.

§

ColorInterpolationFilters

The color-interpolation-filters property.

§

ColorRendering

The color-rendering property.

§

ShapeRendering

The shape-rendering property.

§

TextRendering

The text-rendering property.

§

ImageRendering

The image-rendering property.

§

ClipPath(VendorPrefix)

The clip-path property.

§

ClipRule

The clip-rule property.

§

MaskImage(VendorPrefix)

The mask-image property.

§

MaskMode

The mask-mode property.

§

MaskRepeat(VendorPrefix)

The mask-repeat property.

§

MaskPositionX

The mask-position-x property.

§

MaskPositionY

The mask-position-y property.

§

MaskPosition(VendorPrefix)

The mask-position property.

§

MaskClip(VendorPrefix)

The mask-clip property.

§

MaskOrigin(VendorPrefix)

The mask-origin property.

§

MaskSize(VendorPrefix)

The mask-size property.

§

MaskComposite

The mask-composite property.

§

MaskType

The mask-type property.

§

Mask(VendorPrefix)

The mask property.

§

MaskBorderSource

The mask-border-source property.

§

MaskBorderMode

The mask-border-mode property.

§

MaskBorderSlice

The mask-border-slice property.

§

MaskBorderWidth

The mask-border-width property.

§

MaskBorderOutset

The mask-border-outset property.

§

MaskBorderRepeat

The mask-border-repeat property.

§

MaskBorder

The mask-border property.

§

WebKitMaskComposite

The -webkit-mask-composite property.

§

WebKitMaskSourceType(VendorPrefix)

The mask-source-type property.

§

WebKitMaskBoxImage(VendorPrefix)

The mask-box-image property.

§

WebKitMaskBoxImageSource(VendorPrefix)

The mask-box-image-source property.

§

WebKitMaskBoxImageSlice(VendorPrefix)

The mask-box-image-slice property.

§

WebKitMaskBoxImageWidth(VendorPrefix)

The mask-box-image-width property.

§

WebKitMaskBoxImageOutset(VendorPrefix)

The mask-box-image-outset property.

§

WebKitMaskBoxImageRepeat(VendorPrefix)

The mask-box-image-repeat property.

§

Filter(VendorPrefix)

The filter property.

§

BackdropFilter(VendorPrefix)

The backdrop-filter property.

§

ZIndex

The z-index property.

§

ContainerType

The container-type property.

§

ContainerName

The container-name property.

§

Container

The container property.

§

ViewTransitionName

The view-transition-name property.

§

ColorScheme

The color-scheme property.

§

All

The all property.

§

Custom(CustomPropertyName<'i>)

An unknown or custom property name.

Implementations§

Source§

impl<'i> PropertyId<'i>

Source

pub fn prefix(&self) -> VendorPrefix

Returns the vendor prefix for this property id.

Source

pub fn name(&self) -> &str

Returns the property name, without any vendor prefixes.

Source

pub fn is_shorthand(&self) -> bool

Returns whether a property is a shorthand.

Source

pub fn longhands(&self) -> Option<Vec<PropertyId<'static>>>

Returns a list of longhand property ids for a shorthand.

Trait Implementations§

Source§

impl<'i> Clone for PropertyId<'i>

Source§

fn clone(&self) -> PropertyId<'i>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'i> Debug for PropertyId<'i>

Source§

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

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

impl<'i, 'de: 'i> Deserialize<'de> for PropertyId<'i>

Available on crate feature serde only.
Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'i> From<&'i str> for PropertyId<'i>

Source§

fn from(name: &'i str) -> PropertyId<'i>

Converts to this type from the input type.
Source§

impl<'i> From<CowArcStr<'i>> for PropertyId<'i>

Source§

fn from(name: CowArcStr<'i>) -> PropertyId<'i>

Converts to this type from the input type.
Source§

impl<'i> Hash for PropertyId<'i>

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<'any, 'i> IntoOwned<'any> for PropertyId<'i>

Source§

fn into_owned(self) -> Self::Owned

Consumes the value and returns an owned clone.

Source§

type Owned = PropertyId<'any>

A variant of Self with a new lifetime.
Source§

impl<'i> JsonSchema for PropertyId<'i>

Available on crate feature jsonschema only.
Source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

impl<'i> Parse<'i> for PropertyId<'i>

Source§

fn parse<'t>( input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i, ParserError<'i>>>

Parse a value of this type using an existing parser.
Source§

fn parse_string(input: &'i str) -> Result<Self, ParseError<'i, ParserError<'i>>>

Parse a value from a string. Read more
Source§

impl<'i> PartialEq for PropertyId<'i>

Source§

fn eq(&self, other: &PropertyId<'i>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'i> Serialize for PropertyId<'i>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'i> ToCss for PropertyId<'i>

Source§

fn to_css<W>( &self, dest: &mut Printer<'_, '_, '_, W>, ) -> Result<(), PrinterError>
where W: Write,

Serialize self in CSS syntax, writing to dest.
Source§

fn to_css_string( &self, options: PrinterOptions<'_>, ) -> Result<String, PrinterError>

Serialize self in CSS syntax and return a string. Read more
Source§

impl<'i, __T: Visit<'i, __T, __V>, __V: ?Sized + Visitor<'i, __T>> Visit<'i, __T, __V> for PropertyId<'i>

Source§

const CHILD_TYPES: VisitTypes

Available on crate feature visitor only.
The types of values contained within this value and its children. This is used to skip branches that don’t have any values requested by the Visitor.
Source§

fn visit_children(&mut self, visitor: &mut __V) -> Result<(), __V::Error>

Available on crate feature visitor only.
Visit the children of this value.
Source§

fn visit(&mut self, visitor: &mut V) -> Result<(), V::Error>

Available on crate feature visitor only.
Visits the value by calling an appropriate method on the Visitor. If no corresponding visitor method exists, then the children are visited.
Source§

impl<'i> Eq for PropertyId<'i>

Source§

impl<'i> StructuralPartialEq for PropertyId<'i>

Auto Trait Implementations§

§

impl<'i> Freeze for PropertyId<'i>

§

impl<'i> RefUnwindSafe for PropertyId<'i>

§

impl<'i> Send for PropertyId<'i>

§

impl<'i> Sync for PropertyId<'i>

§

impl<'i> Unpin for PropertyId<'i>

§

impl<'i> UnwindSafe for PropertyId<'i>

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> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
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> CallHasher for T
where T: Hash + ?Sized,

Source§

default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where H: Hash + ?Sized, B: BuildHasher,

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<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

Source§

fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
Source§

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

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<'i, T> ParseWithOptions<'i> for T
where T: Parse<'i>,

Source§

fn parse_with_options<'t>( input: &mut Parser<'i, 't>, _options: &ParserOptions<'_, '_>, ) -> Result<T, ParseError<'i, ParserError<'i>>>

Parse a value of this type with the given options.
Source§

fn parse_string_with_options( input: &'i str, options: ParserOptions<'_, 'i>, ) -> Result<Self, ParseError<'i, ParserError<'i>>>

Parse a value from a string with the given options.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The type for metadata in pointers and references to Self.
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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,