pub enum St {
Show 515 variants MozAppearance, MozBinding, MozBorderBottomColors, MozBorderLeftColors, MozBorderRightColors, MozBorderTopColors, MozContextProperties, MozFloatEdge, MozForceBrokenImageIcon, MozImageRegion, MozOrient, MozOutlineRadius, MozOutlineRadiusBottomleft, MozOutlineRadiusBottomright, MozOutlineRadiusTopleft, MozOutlineRadiusTopright, MozStackSizing, MozTextBlink, MozUserFocus, MozUserInput, MozUserModify, MozWindowDragging, MozWindowShadow, MsAccelerator, MsBlockProgression, MsContentZoomChaining, MsContentZoomLimit, MsContentZoomLimitMax, MsContentZoomLimitMin, MsContentZoomSnap, MsContentZoomSnapPoints, MsContentZoomSnapType, MsContentZooming, MsFilter, MsFlowFrom, MsFlowInto, MsGridColumns, MsGridRows, MsHighContrastAdjust, MsHyphenateLimitChars, MsHyphenateLimitLines, MsHyphenateLimitZone, MsImeAlign, MsOverflowStyle, MsScrollChaining, MsScrollLimit, MsScrollLimitXMax, MsScrollLimitXMin, MsScrollLimitYMax, MsScrollLimitYMin, MsScrollRails, MsScrollSnapPointsX, MsScrollSnapPointsY, MsScrollSnapType, MsScrollSnapX, MsScrollSnapY, MsScrollTranslation, MsScrollbar3DlightColor, MsScrollbarArrowColor, MsScrollbarBaseColor, MsScrollbarDarkshadowColor, MsScrollbarFaceColor, MsScrollbarHighlightColor, MsScrollbarShadowColor, MsScrollbarTrackColor, MsTextAutospace, MsTouchSelect, MsUserSelect, MsWrapFlow, MsWrapMargin, MsWrapThrough, WebkitAppearance, WebkitBorderBefore, WebkitBorderBeforeColor, WebkitBorderBeforeStyle, WebkitBorderBeforeWidth, WebkitBoxReflect, WebkitLineClamp, WebkitMask, WebkitMaskAttachment, WebkitMaskClip, WebkitMaskComposite, WebkitMaskImage, WebkitMaskOrigin, WebkitMaskPosition, WebkitMaskPositionX, WebkitMaskPositionY, WebkitMaskRepeat, WebkitMaskRepeatX, WebkitMaskRepeatY, WebkitMaskSize, WebkitOverflowScrolling, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, AccentColor, AlignContent, AlignItems, AlignSelf, AlignTracks, All, Animation, AnimationDelay, AnimationDirection, AnimationDuration, AnimationFillMode, AnimationIterationCount, AnimationName, AnimationPlayState, AnimationTimeline, AnimationTimingFunction, Appearance, AspectRatio, Azimuth, BackdropFilter, BackfaceVisibility, Background, BackgroundAttachment, BackgroundBlendMode, BackgroundClip, BackgroundColor, BackgroundImage, BackgroundOrigin, BackgroundPosition, BackgroundPositionX, BackgroundPositionY, BackgroundRepeat, BackgroundSize, BlockOverflow, 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, BorderSpacing, BorderStartEndRadius, BorderStartStartRadius, BorderStyle, BorderTop, BorderTopColor, BorderTopLeftRadius, BorderTopRightRadius, BorderTopStyle, BorderTopWidth, BorderWidth, Bottom, BoxAlign, BoxDecorationBreak, BoxDirection, BoxFlex, BoxFlexGroup, BoxLines, BoxOrdinalGroup, BoxOrient, BoxPack, BoxShadow, BoxSizing, BreakAfter, BreakBefore, BreakInside, CaptionSide, CaretColor, Clear, Clip, ClipPath, Color, ColorScheme, ColumnCount, ColumnFill, ColumnGap, ColumnRule, ColumnRuleColor, ColumnRuleStyle, ColumnRuleWidth, ColumnSpan, ColumnWidth, Columns, Contain, Content, ContentVisibility, CounterIncrement, CounterReset, CounterSet, Cursor, Direction, Display, EmptyCells, Filter, Flex, FlexBasis, FlexDirection, FlexFlow, FlexGrow, FlexShrink, FlexWrap, Float, Font, FontFamily, FontFeatureSettings, FontKerning, FontLanguageOverride, FontOpticalSizing, FontSize, FontSizeAdjust, FontSmooth, FontStretch, FontStyle, FontSynthesis, FontVariant, FontVariantAlternates, FontVariantCaps, FontVariantEastAsian, FontVariantLigatures, FontVariantNumeric, FontVariantPosition, FontVariationSettings, FontWeight, ForcedColorAdjust, Gap, Grid, GridArea, GridAutoColumns, GridAutoFlow, GridAutoRows, GridColumn, GridColumnEnd, GridColumnGap, GridColumnStart, GridGap, GridRow, GridRowEnd, GridRowGap, GridRowStart, GridTemplate, GridTemplateAreas, GridTemplateColumns, GridTemplateRows, HangingPunctuation, Height, HyphenateCharacter, Hyphens, ImageOrientation, ImageRendering, ImageResolution, ImeMode, InitialLetter, InitialLetterAlign, InlineSize, InputSecurity, Inset, InsetBlock, InsetBlockEnd, InsetBlockStart, InsetInline, InsetInlineEnd, InsetInlineStart, Isolation, JustifyContent, JustifyItems, JustifySelf, JustifyTracks, Left, LetterSpacing, LineBreak, LineClamp, LineHeight, LineHeightStep, ListStyle, ListStyleImage, ListStylePosition, ListStyleType, Margin, MarginBlock, MarginBlockEnd, MarginBlockStart, MarginBottom, MarginInline, MarginInlineEnd, MarginInlineStart, MarginLeft, MarginRight, MarginTop, MarginTrim, Mask, MaskBorder, MaskBorderMode, MaskBorderOutset, MaskBorderRepeat, MaskBorderSlice, MaskBorderSource, MaskBorderWidth, MaskClip, MaskComposite, MaskImage, MaskMode, MaskOrigin, MaskPosition, MaskRepeat, MaskSize, MaskType, MasonryAutoFlow, MathStyle, MaxBlockSize, MaxHeight, MaxInlineSize, MaxLines, 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, OverflowClipBox, OverflowClipMargin, OverflowInline, OverflowWrap, OverflowX, OverflowY, OverscrollBehavior, OverscrollBehaviorBlock, OverscrollBehaviorInline, OverscrollBehaviorX, OverscrollBehaviorY, Padding, PaddingBlock, PaddingBlockEnd, PaddingBlockStart, PaddingBottom, PaddingInline, PaddingInlineEnd, PaddingInlineStart, PaddingLeft, PaddingRight, PaddingTop, PageBreakAfter, PageBreakBefore, PageBreakInside, PaintOrder, Perspective, PerspectiveOrigin, PlaceContent, PlaceItems, PlaceSelf, PointerEvents, Position, PrintColorAdjust, Quotes, Resize, Right, Rotate, RowGap, RubyAlign, RubyMerge, RubyPosition, Scale, ScrollBehavior, ScrollMargin, ScrollMarginBlock, ScrollMarginBlockEnd, ScrollMarginBlockStart, ScrollMarginBottom, ScrollMarginInline, ScrollMarginInlineEnd, ScrollMarginInlineStart, ScrollMarginLeft, ScrollMarginRight, ScrollMarginTop, ScrollPadding, ScrollPaddingBlock, ScrollPaddingBlockEnd, ScrollPaddingBlockStart, ScrollPaddingBottom, ScrollPaddingInline, ScrollPaddingInlineEnd, ScrollPaddingInlineStart, ScrollPaddingLeft, ScrollPaddingRight, ScrollPaddingTop, ScrollSnapAlign, ScrollSnapCoordinate, ScrollSnapDestination, ScrollSnapPointsX, ScrollSnapPointsY, ScrollSnapStop, ScrollSnapType, ScrollSnapTypeX, ScrollSnapTypeY, ScrollbarColor, ScrollbarGutter, ScrollbarWidth, ShapeImageThreshold, ShapeMargin, ShapeOutside, TabSize, TableLayout, TextAlign, TextAlignLast, TextCombineUpright, TextDecoration, TextDecorationColor, TextDecorationLine, TextDecorationSkip, TextDecorationSkipInk, TextDecorationStyle, TextDecorationThickness, TextEmphasis, TextEmphasisColor, TextEmphasisPosition, TextEmphasisStyle, TextIndent, TextJustify, TextOrientation, TextOverflow, TextRendering, TextShadow, TextSizeAdjust, TextTransform, TextUnderlineOffset, TextUnderlinePosition, Top, TouchAction, Transform, TransformBox, TransformOrigin, TransformStyle, Transition, TransitionDelay, TransitionDuration, TransitionProperty, TransitionTimingFunction, Translate, UnicodeBidi, UserSelect, VerticalAlign, Visibility, WhiteSpace, Widows, Width, WillChange, WordBreak, WordSpacing, WordWrap, WritingMode, ZIndex, Zoom, Custom(Cow<'static, str>),
}
Expand description

The St enum restricts element-creation to only valid styles.

Variants

MozAppearance

MozBinding

MozBorderBottomColors

MozBorderLeftColors

MozBorderRightColors

MozBorderTopColors

MozContextProperties

MozFloatEdge

MozForceBrokenImageIcon

MozImageRegion

MozOrient

MozOutlineRadius

MozOutlineRadiusBottomleft

MozOutlineRadiusBottomright

MozOutlineRadiusTopleft

MozOutlineRadiusTopright

MozStackSizing

MozUserFocus

MozUserInput

MozUserModify

MozWindowDragging

MozWindowShadow

MsAccelerator

MsBlockProgression

MsContentZoomChaining

MsContentZoomLimit

MsContentZoomLimitMax

MsContentZoomLimitMin

MsContentZoomSnap

MsContentZoomSnapPoints

MsContentZoomSnapType

MsContentZooming

MsFilter

MsFlowFrom

MsFlowInto

MsGridColumns

MsGridRows

MsHighContrastAdjust

MsHyphenateLimitChars

MsHyphenateLimitLines

MsHyphenateLimitZone

MsImeAlign

MsOverflowStyle

MsScrollChaining

MsScrollLimit

MsScrollLimitXMax

MsScrollLimitXMin

MsScrollLimitYMax

MsScrollLimitYMin

MsScrollRails

MsScrollSnapPointsX

MsScrollSnapPointsY

MsScrollSnapType

MsScrollSnapX

MsScrollSnapY

MsScrollTranslation

MsScrollbar3DlightColor

MsScrollbarArrowColor

MsScrollbarBaseColor

MsScrollbarDarkshadowColor

MsScrollbarFaceColor

MsScrollbarHighlightColor

MsScrollbarShadowColor

MsScrollbarTrackColor

MsTextAutospace

MsTouchSelect

MsUserSelect

MsWrapFlow

MsWrapMargin

MsWrapThrough

WebkitAppearance

WebkitBorderBefore

WebkitBorderBeforeColor

WebkitBorderBeforeStyle

WebkitBorderBeforeWidth

WebkitBoxReflect

WebkitLineClamp

WebkitMask

WebkitMaskAttachment

WebkitMaskClip

WebkitMaskComposite

WebkitMaskImage

WebkitMaskOrigin

WebkitMaskPosition

WebkitMaskPositionX

WebkitMaskPositionY

WebkitMaskRepeat

WebkitMaskRepeatX

WebkitMaskRepeatY

WebkitMaskSize

WebkitOverflowScrolling

WebkitTapHighlightColor

WebkitTextFillColor

WebkitTextStroke

WebkitTextStrokeColor

WebkitTextStrokeWidth

WebkitTouchCallout

WebkitUserModify

AccentColor

AlignContent

AlignItems

AlignSelf

AlignTracks

All

Animation

AnimationDelay

AnimationDirection

AnimationDuration

AnimationFillMode

AnimationIterationCount

AnimationName

AnimationPlayState

AnimationTimeline

AnimationTimingFunction

Appearance

AspectRatio

Azimuth

BackdropFilter

BackfaceVisibility

Background

BackgroundAttachment

BackgroundBlendMode

BackgroundClip

BackgroundColor

BackgroundImage

BackgroundOrigin

BackgroundPosition

BackgroundPositionX

BackgroundPositionY

BackgroundRepeat

BackgroundSize

BlockOverflow

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

BorderSpacing

BorderStartEndRadius

BorderStartStartRadius

BorderStyle

BorderTop

BorderTopColor

BorderTopLeftRadius

BorderTopRightRadius

BorderTopStyle

BorderTopWidth

BorderWidth

Bottom

BoxAlign

BoxDecorationBreak

BoxDirection

BoxFlex

BoxFlexGroup

BoxLines

BoxOrdinalGroup

BoxOrient

BoxPack

BoxShadow

BoxSizing

BreakAfter

BreakBefore

BreakInside

CaptionSide

CaretColor

Clear

Clip

ClipPath

Color

ColorScheme

ColumnCount

ColumnFill

ColumnGap

ColumnRule

ColumnRuleColor

ColumnRuleStyle

ColumnRuleWidth

ColumnSpan

ColumnWidth

Columns

Contain

Content

ContentVisibility

CounterIncrement

CounterReset

CounterSet

Cursor

Direction

Display

EmptyCells

Filter

Flex

FlexBasis

FlexDirection

FlexFlow

FlexGrow

FlexShrink

FlexWrap

Float

Font

FontFamily

FontFeatureSettings

FontKerning

FontLanguageOverride

FontOpticalSizing

FontSize

FontSizeAdjust

FontSmooth

FontStretch

FontStyle

FontSynthesis

FontVariant

FontVariantAlternates

FontVariantCaps

FontVariantEastAsian

FontVariantLigatures

FontVariantNumeric

FontVariantPosition

FontVariationSettings

FontWeight

ForcedColorAdjust

Gap

Grid

GridArea

GridAutoColumns

GridAutoFlow

GridAutoRows

GridColumn

GridColumnEnd

GridColumnGap

GridColumnStart

GridGap

GridRow

GridRowEnd

GridRowGap

GridRowStart

GridTemplate

GridTemplateAreas

GridTemplateColumns

GridTemplateRows

HangingPunctuation

Height

HyphenateCharacter

Hyphens

ImageOrientation

ImageRendering

ImageResolution

ImeMode

InitialLetter

InitialLetterAlign

InlineSize

InputSecurity

Inset

InsetBlock

InsetBlockEnd

InsetBlockStart

InsetInline

InsetInlineEnd

InsetInlineStart

Isolation

JustifyContent

JustifyItems

JustifySelf

JustifyTracks

Left

LetterSpacing

LineBreak

LineClamp

LineHeight

LineHeightStep

ListStyle

ListStyleImage

ListStylePosition

ListStyleType

Margin

MarginBlock

MarginBlockEnd

MarginBlockStart

MarginBottom

MarginInline

MarginInlineEnd

MarginInlineStart

MarginLeft

MarginRight

MarginTop

MarginTrim

Mask

MaskBorder

MaskBorderMode

MaskBorderOutset

MaskBorderRepeat

MaskBorderSlice

MaskBorderSource

MaskBorderWidth

MaskClip

MaskComposite

MaskImage

MaskMode

MaskOrigin

MaskPosition

MaskRepeat

MaskSize

MaskType

MasonryAutoFlow

MathStyle

MaxBlockSize

MaxHeight

MaxInlineSize

MaxLines

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

OverflowClipBox

OverflowClipMargin

OverflowInline

OverflowWrap

OverflowX

OverflowY

OverscrollBehavior

OverscrollBehaviorBlock

OverscrollBehaviorInline

OverscrollBehaviorX

OverscrollBehaviorY

Padding

PaddingBlock

PaddingBlockEnd

PaddingBlockStart

PaddingBottom

PaddingInline

PaddingInlineEnd

PaddingInlineStart

PaddingLeft

PaddingRight

PaddingTop

PageBreakAfter

PageBreakBefore

PageBreakInside

PaintOrder

Perspective

PerspectiveOrigin

PlaceContent

PlaceItems

PlaceSelf

PointerEvents

Position

PrintColorAdjust

Quotes

Resize

Right

Rotate

RowGap

RubyAlign

RubyMerge

RubyPosition

Scale

ScrollBehavior

ScrollMargin

ScrollMarginBlock

ScrollMarginBlockEnd

ScrollMarginBlockStart

ScrollMarginBottom

ScrollMarginInline

ScrollMarginInlineEnd

ScrollMarginInlineStart

ScrollMarginLeft

ScrollMarginRight

ScrollMarginTop

ScrollPadding

ScrollPaddingBlock

ScrollPaddingBlockEnd

ScrollPaddingBlockStart

ScrollPaddingBottom

ScrollPaddingInline

ScrollPaddingInlineEnd

ScrollPaddingInlineStart

ScrollPaddingLeft

ScrollPaddingRight

ScrollPaddingTop

ScrollSnapAlign

ScrollSnapCoordinate

ScrollSnapDestination

ScrollSnapPointsX

ScrollSnapPointsY

ScrollSnapStop

ScrollSnapType

ScrollSnapTypeX

ScrollSnapTypeY

ScrollbarColor

ScrollbarGutter

ScrollbarWidth

ShapeImageThreshold

ShapeMargin

ShapeOutside

TabSize

TableLayout

TextAlign

TextAlignLast

TextCombineUpright

TextDecoration

TextDecorationColor

TextDecorationLine

TextDecorationSkip

TextDecorationSkipInk

TextDecorationStyle

TextDecorationThickness

TextEmphasis

TextEmphasisColor

TextEmphasisPosition

TextEmphasisStyle

TextIndent

TextJustify

TextOrientation

TextOverflow

TextRendering

TextShadow

TextSizeAdjust

TextTransform

TextUnderlineOffset

TextUnderlinePosition

Top

TouchAction

Transform

TransformBox

TransformOrigin

TransformStyle

Transition

TransitionDelay

TransitionDuration

TransitionProperty

TransitionTimingFunction

Translate

UnicodeBidi

UserSelect

VerticalAlign

Visibility

WhiteSpace

Widows

Width

WillChange

WordBreak

WordSpacing

WordWrap

WritingMode

ZIndex

Zoom

Custom(Cow<'static, str>)

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Feeds this value into the given Hasher. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.