#[repr(u16)]
pub enum AnimationValue {
Show 211 variants AlignContent(<AlignContent as ToComputedValue>::ComputedValue), AlignItems(<AlignItems as ToComputedValue>::ComputedValue), AlignSelf(<AlignSelf as ToComputedValue>::ComputedValue), AspectRatio(<<AspectRatio as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BackfaceVisibility(<SpecifiedValue as ToComputedValue>::ComputedValue), BaselineSource(<BaselineSource as ToComputedValue>::ComputedValue), BorderCollapse(<SpecifiedValue as ToComputedValue>::ComputedValue), BorderImageRepeat(<BorderImageRepeat as ToComputedValue>::ComputedValue), BoxSizing(<SpecifiedValue as ToComputedValue>::ComputedValue), CaptionSide(<CaptionSide as ToComputedValue>::ComputedValue), Clear(<Clear as ToComputedValue>::ComputedValue), ColumnCount(<<ColumnCount as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), ColumnSpan(<SpecifiedValue as ToComputedValue>::ComputedValue), ContainerType(Void), Direction(Void), Display(<Display as ToComputedValue>::ComputedValue), EmptyCells(<SpecifiedValue as ToComputedValue>::ComputedValue), FlexDirection(<SpecifiedValue as ToComputedValue>::ComputedValue), FlexWrap(<SpecifiedValue as ToComputedValue>::ComputedValue), Float(<Float as ToComputedValue>::ComputedValue), FontLanguageOverride(<FontLanguageOverride as ToComputedValue>::ComputedValue), FontStretch(<<FontStretch as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FontStyle(<<FontStyle as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FontVariantCaps(<SpecifiedValue as ToComputedValue>::ComputedValue), FontWeight(<<FontWeight as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridAutoFlow(<GridAutoFlow as ToComputedValue>::ComputedValue), ImageRendering(<ImageRendering as ToComputedValue>::ComputedValue), JustifyContent(<JustifyContent as ToComputedValue>::ComputedValue), JustifyItems(<JustifyItems as ToComputedValue>::ComputedValue), JustifySelf(<JustifySelf as ToComputedValue>::ComputedValue), ListStylePosition(<SpecifiedValue as ToComputedValue>::ComputedValue), ListStyleType(<SpecifiedValue as ToComputedValue>::ComputedValue), MixBlendMode(<SpecifiedValue as ToComputedValue>::ComputedValue), ObjectFit(<SpecifiedValue as ToComputedValue>::ComputedValue), Opacity(<<Opacity as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Order(<<Integer as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OutlineStyle(<OutlineStyle as ToComputedValue>::ComputedValue), OverflowWrap(<OverflowWrap as ToComputedValue>::ComputedValue), PointerEvents(<PointerEvents as ToComputedValue>::ComputedValue), Position(<SpecifiedValue as ToComputedValue>::ComputedValue), ServoOverflowClipBox(Void), ServoTopLayer(Void), TableLayout(<SpecifiedValue as ToComputedValue>::ComputedValue), TextAlign(<TextAlign as ToComputedValue>::ComputedValue), TextAlignLast(<TextAlignLast as ToComputedValue>::ComputedValue), TextDecorationLine(<TextDecorationLine as ToComputedValue>::ComputedValue), TextDecorationStyle(<SpecifiedValue as ToComputedValue>::ComputedValue), TextJustify(<TextJustify as ToComputedValue>::ComputedValue), TextRendering(<SpecifiedValue as ToComputedValue>::ComputedValue), TextTransform(<TextTransform as ToComputedValue>::ComputedValue), TextWrapMode(<SpecifiedValue as ToComputedValue>::ComputedValue), TransformStyle(<TransformStyle as ToComputedValue>::ComputedValue), UnicodeBidi(Void), Visibility(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), WhiteSpaceCollapse(<SpecifiedValue as ToComputedValue>::ComputedValue), WordBreak(<WordBreak as ToComputedValue>::ComputedValue), WritingMode(Void), ZIndex(<<ZIndex as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Zoom(<<Zoom as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FlexGrow(<<NonNegativeNumber as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FlexShrink(<<NonNegativeNumber as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OverflowBlock(Void), OverflowInline(Void), OverflowX(<Overflow as ToComputedValue>::ComputedValue), OverflowY(<Overflow as ToComputedValue>::ComputedValue), BorderBlockEndStyle(Void), BorderBlockStartStyle(Void), BorderBottomStyle(<BorderStyle as ToComputedValue>::ComputedValue), BorderInlineEndStyle(Void), BorderInlineStartStyle(Void), BorderLeftStyle(<BorderStyle as ToComputedValue>::ComputedValue), BorderRightStyle(<BorderStyle as ToComputedValue>::ComputedValue), BorderTopStyle(<BorderStyle as ToComputedValue>::ComputedValue), AnimationComposition(Void), AnimationDelay(Void), AnimationDirection(Void), AnimationDuration(Void), AnimationFillMode(Void), AnimationIterationCount(Void), AnimationName(Void), AnimationPlayState(Void), AnimationTimeline(Void), AnimationTimingFunction(Void), BackgroundAttachment(<SpecifiedValue as ToComputedValue>::ComputedValue), BackgroundClip(<SpecifiedValue as ToComputedValue>::ComputedValue), BackgroundImage(<SpecifiedValue as ToComputedValue>::ComputedValue), BackgroundOrigin(<SpecifiedValue as ToComputedValue>::ComputedValue), BackgroundPositionX(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BackgroundPositionY(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BackgroundRepeat(<SpecifiedValue as ToComputedValue>::ComputedValue), BackgroundSize(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderImageOutset(<<NonNegativeLengthOrNumberRect as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderImageSlice(<<BorderImageSlice as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderImageWidth(<<BorderImageWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderSpacing(<<BorderSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BoxShadow(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Clip(<<ClipRectOrAuto as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), ClipPath(<<ClipPath as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Color(<<ColorPropertyValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), ColorScheme(<ColorScheme as ToComputedValue>::ComputedValue), ColumnWidth(<<NonNegativeLengthOrAuto as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), ContainerName(Void), Content(<Content as ToComputedValue>::ComputedValue), CounterIncrement(<CounterIncrement as ToComputedValue>::ComputedValue), CounterReset(<CounterReset as ToComputedValue>::ComputedValue), Cursor(<Cursor as ToComputedValue>::ComputedValue), Filter(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FlexBasis(<<FlexBasis as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), FontFamily(<FontFamily as ToComputedValue>::ComputedValue), FontSize(<<FontSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridTemplateAreas(<GridTemplateAreas as ToComputedValue>::ComputedValue), LetterSpacing(<<LetterSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), LineHeight(<<LineHeight as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OutlineOffset(<<Length as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Perspective(<<Perspective as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Quotes(<Quotes as ToComputedValue>::ComputedValue), Rotate(<<Rotate as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Scale(<<Scale as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), TextIndent(<<TextIndent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), TextOverflow(<TextOverflow as ToComputedValue>::ComputedValue), TextShadow(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Transform(<<Transform as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), TransformOrigin(<<TransformOrigin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), TransitionBehavior(Void), TransitionDelay(Void), TransitionDuration(Void), TransitionProperty(Void), TransitionTimingFunction(Void), Translate(<<Translate as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), VerticalAlign(<<VerticalAlign as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), WordSpacing(<<WordSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), XLang(Void), BorderImageSource(<Image as ToComputedValue>::ComputedValue), ListStyleImage(<Image as ToComputedValue>::ComputedValue), ObjectPosition(<<Position as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PerspectiveOrigin(<<Position as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridTemplateColumns(<<GridTemplateComponent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridTemplateRows(<<GridTemplateComponent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridAutoColumns(<ImplicitGridTracks as ToComputedValue>::ComputedValue), GridAutoRows(<ImplicitGridTracks as ToComputedValue>::ComputedValue), ColumnGap(<<NonNegativeLengthPercentageOrNormal as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), RowGap(<<NonNegativeLengthPercentageOrNormal as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), GridColumnEnd(<GridLine as ToComputedValue>::ComputedValue), GridColumnStart(<GridLine as ToComputedValue>::ComputedValue), GridRowEnd(<GridLine as ToComputedValue>::ComputedValue), GridRowStart(<GridLine as ToComputedValue>::ComputedValue), MaxBlockSize(Void), MaxHeight(<<MaxSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MaxInlineSize(Void), MaxWidth(<<MaxSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderBottomLeftRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderBottomRightRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderEndEndRadius(Void), BorderEndStartRadius(Void), BorderStartEndRadius(Void), BorderStartStartRadius(Void), BorderTopLeftRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderTopRightRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Bottom(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), InsetBlockEnd(Void), InsetBlockStart(Void), InsetInlineEnd(Void), InsetInlineStart(Void), Left(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Right(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Top(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MarginBlockEnd(Void), MarginBlockStart(Void), MarginBottom(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MarginInlineEnd(Void), MarginInlineStart(Void), MarginLeft(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MarginRight(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MarginTop(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PaddingBlockEnd(Void), PaddingBlockStart(Void), PaddingBottom(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PaddingInlineEnd(Void), PaddingInlineStart(Void), PaddingLeft(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PaddingRight(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PaddingTop(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BlockSize(Void), Height(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), InlineSize(Void), MinBlockSize(Void), MinHeight(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), MinInlineSize(Void), MinWidth(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Width(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderBlockEndWidth(Void), BorderBlockStartWidth(Void), BorderBottomWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderInlineEndWidth(Void), BorderInlineStartWidth(Void), BorderLeftWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderRightWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderTopWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OutlineWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BackgroundColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderBlockEndColor(Void), BorderBlockStartColor(Void), BorderBottomColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderInlineEndColor(Void), BorderInlineStartColor(Void), BorderLeftColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderRightColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), BorderTopColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OutlineColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), TextDecorationColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Custom(CustomAnimatedValue),
}
Expand description

An enum to represent a single computed value belonging to an animated property in order to be interpolated with another one. When interpolating, both values need to belong to the same property.

Variants§

§

AlignContent(<AlignContent as ToComputedValue>::ComputedValue)

align-content

§

AlignItems(<AlignItems as ToComputedValue>::ComputedValue)

align-items

§

AlignSelf(<AlignSelf as ToComputedValue>::ComputedValue)

align-self

§

AspectRatio(<<AspectRatio as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

aspect-ratio

§

BackfaceVisibility(<SpecifiedValue as ToComputedValue>::ComputedValue)

backface-visibility

§

BaselineSource(<BaselineSource as ToComputedValue>::ComputedValue)

baseline-source

§

BorderCollapse(<SpecifiedValue as ToComputedValue>::ComputedValue)

border-collapse

§

BorderImageRepeat(<BorderImageRepeat as ToComputedValue>::ComputedValue)

border-image-repeat

§

BoxSizing(<SpecifiedValue as ToComputedValue>::ComputedValue)

box-sizing

§

CaptionSide(<CaptionSide as ToComputedValue>::ComputedValue)

caption-side

§

Clear(<Clear as ToComputedValue>::ComputedValue)

clear

§

ColumnCount(<<ColumnCount as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

column-count

§

ColumnSpan(<SpecifiedValue as ToComputedValue>::ComputedValue)

column-span

§

ContainerType(Void)

container-type

§

Direction(Void)

direction

§

Display(<Display as ToComputedValue>::ComputedValue)

display

§

EmptyCells(<SpecifiedValue as ToComputedValue>::ComputedValue)

empty-cells

§

FlexDirection(<SpecifiedValue as ToComputedValue>::ComputedValue)

flex-direction

§

FlexWrap(<SpecifiedValue as ToComputedValue>::ComputedValue)

flex-wrap

§

Float(<Float as ToComputedValue>::ComputedValue)

float

§

FontLanguageOverride(<FontLanguageOverride as ToComputedValue>::ComputedValue)

font-language-override

§

FontStretch(<<FontStretch as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

font-stretch

§

FontStyle(<<FontStyle as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

font-style

§

FontVariantCaps(<SpecifiedValue as ToComputedValue>::ComputedValue)

font-variant-caps

§

FontWeight(<<FontWeight as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

font-weight

§

GridAutoFlow(<GridAutoFlow as ToComputedValue>::ComputedValue)

grid-auto-flow

§

ImageRendering(<ImageRendering as ToComputedValue>::ComputedValue)

image-rendering

§

JustifyContent(<JustifyContent as ToComputedValue>::ComputedValue)

justify-content

§

JustifyItems(<JustifyItems as ToComputedValue>::ComputedValue)

justify-items

§

JustifySelf(<JustifySelf as ToComputedValue>::ComputedValue)

justify-self

§

ListStylePosition(<SpecifiedValue as ToComputedValue>::ComputedValue)

list-style-position

§

ListStyleType(<SpecifiedValue as ToComputedValue>::ComputedValue)

list-style-type

§

MixBlendMode(<SpecifiedValue as ToComputedValue>::ComputedValue)

mix-blend-mode

§

ObjectFit(<SpecifiedValue as ToComputedValue>::ComputedValue)

object-fit

§

Opacity(<<Opacity as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

opacity

§

Order(<<Integer as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

order

§

OutlineStyle(<OutlineStyle as ToComputedValue>::ComputedValue)

outline-style

§

OverflowWrap(<OverflowWrap as ToComputedValue>::ComputedValue)

overflow-wrap

§

PointerEvents(<PointerEvents as ToComputedValue>::ComputedValue)

pointer-events

§

Position(<SpecifiedValue as ToComputedValue>::ComputedValue)

position

§

ServoOverflowClipBox(Void)

-servo-overflow-clip-box

§

ServoTopLayer(Void)

-servo-top-layer

§

TableLayout(<SpecifiedValue as ToComputedValue>::ComputedValue)

table-layout

§

TextAlign(<TextAlign as ToComputedValue>::ComputedValue)

text-align

§

TextAlignLast(<TextAlignLast as ToComputedValue>::ComputedValue)

text-align-last

§

TextDecorationLine(<TextDecorationLine as ToComputedValue>::ComputedValue)

text-decoration-line

§

TextDecorationStyle(<SpecifiedValue as ToComputedValue>::ComputedValue)

text-decoration-style

§

TextJustify(<TextJustify as ToComputedValue>::ComputedValue)

text-justify

§

TextRendering(<SpecifiedValue as ToComputedValue>::ComputedValue)

text-rendering

§

TextTransform(<TextTransform as ToComputedValue>::ComputedValue)

text-transform

§

TextWrapMode(<SpecifiedValue as ToComputedValue>::ComputedValue)

text-wrap-mode

§

TransformStyle(<TransformStyle as ToComputedValue>::ComputedValue)

transform-style

§

UnicodeBidi(Void)

unicode-bidi

§

Visibility(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

visibility

§

WhiteSpaceCollapse(<SpecifiedValue as ToComputedValue>::ComputedValue)

white-space-collapse

§

WordBreak(<WordBreak as ToComputedValue>::ComputedValue)

word-break

§

WritingMode(Void)

writing-mode

§

ZIndex(<<ZIndex as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

z-index

§

Zoom(<<Zoom as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

zoom

§

FlexGrow(<<NonNegativeNumber as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

flex-grow

§

FlexShrink(<<NonNegativeNumber as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

flex-shrink

§

OverflowBlock(Void)

overflow-block

§

OverflowInline(Void)

overflow-inline

§

OverflowX(<Overflow as ToComputedValue>::ComputedValue)

overflow-x

§

OverflowY(<Overflow as ToComputedValue>::ComputedValue)

overflow-y

§

BorderBlockEndStyle(Void)

border-block-end-style

§

BorderBlockStartStyle(Void)

border-block-start-style

§

BorderBottomStyle(<BorderStyle as ToComputedValue>::ComputedValue)

border-bottom-style

§

BorderInlineEndStyle(Void)

border-inline-end-style

§

BorderInlineStartStyle(Void)

border-inline-start-style

§

BorderLeftStyle(<BorderStyle as ToComputedValue>::ComputedValue)

border-left-style

§

BorderRightStyle(<BorderStyle as ToComputedValue>::ComputedValue)

border-right-style

§

BorderTopStyle(<BorderStyle as ToComputedValue>::ComputedValue)

border-top-style

§

AnimationComposition(Void)

animation-composition

§

AnimationDelay(Void)

animation-delay

§

AnimationDirection(Void)

animation-direction

§

AnimationDuration(Void)

animation-duration

§

AnimationFillMode(Void)

animation-fill-mode

§

AnimationIterationCount(Void)

animation-iteration-count

§

AnimationName(Void)

animation-name

§

AnimationPlayState(Void)

animation-play-state

§

AnimationTimeline(Void)

animation-timeline

§

AnimationTimingFunction(Void)

animation-timing-function

§

BackgroundAttachment(<SpecifiedValue as ToComputedValue>::ComputedValue)

background-attachment

§

BackgroundClip(<SpecifiedValue as ToComputedValue>::ComputedValue)

background-clip

§

BackgroundImage(<SpecifiedValue as ToComputedValue>::ComputedValue)

background-image

§

BackgroundOrigin(<SpecifiedValue as ToComputedValue>::ComputedValue)

background-origin

§

BackgroundPositionX(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

background-position-x

§

BackgroundPositionY(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

background-position-y

§

BackgroundRepeat(<SpecifiedValue as ToComputedValue>::ComputedValue)

background-repeat

§

BackgroundSize(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

background-size

§

BorderImageOutset(<<NonNegativeLengthOrNumberRect as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-image-outset

§

BorderImageSlice(<<BorderImageSlice as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-image-slice

§

BorderImageWidth(<<BorderImageWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-image-width

§

BorderSpacing(<<BorderSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-spacing

§

BoxShadow(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

box-shadow

§

Clip(<<ClipRectOrAuto as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

clip

§

ClipPath(<<ClipPath as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

clip-path

§

Color(<<ColorPropertyValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

color

§

ColorScheme(<ColorScheme as ToComputedValue>::ComputedValue)

color-scheme

§

ColumnWidth(<<NonNegativeLengthOrAuto as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

column-width

§

ContainerName(Void)

container-name

§

Content(<Content as ToComputedValue>::ComputedValue)

content

§

CounterIncrement(<CounterIncrement as ToComputedValue>::ComputedValue)

counter-increment

§

CounterReset(<CounterReset as ToComputedValue>::ComputedValue)

counter-reset

§

Cursor(<Cursor as ToComputedValue>::ComputedValue)

cursor

§

Filter(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

filter

§

FlexBasis(<<FlexBasis as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

flex-basis

§

FontFamily(<FontFamily as ToComputedValue>::ComputedValue)

font-family

§

FontSize(<<FontSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

font-size

§

GridTemplateAreas(<GridTemplateAreas as ToComputedValue>::ComputedValue)

grid-template-areas

§

LetterSpacing(<<LetterSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

letter-spacing

§

LineHeight(<<LineHeight as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

line-height

§

OutlineOffset(<<Length as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

outline-offset

§

Perspective(<<Perspective as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

perspective

§

Quotes(<Quotes as ToComputedValue>::ComputedValue)

quotes

§

Rotate(<<Rotate as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

rotate

§

Scale(<<Scale as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

scale

§

TextIndent(<<TextIndent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

text-indent

§

TextOverflow(<TextOverflow as ToComputedValue>::ComputedValue)

text-overflow

§

TextShadow(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

text-shadow

§

Transform(<<Transform as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

transform

§

TransformOrigin(<<TransformOrigin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

transform-origin

§

TransitionBehavior(Void)

transition-behavior

§

TransitionDelay(Void)

transition-delay

§

TransitionDuration(Void)

transition-duration

§

TransitionProperty(Void)

transition-property

§

TransitionTimingFunction(Void)

transition-timing-function

§

Translate(<<Translate as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

translate

§

VerticalAlign(<<VerticalAlign as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

vertical-align

§

WordSpacing(<<WordSpacing as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

word-spacing

§

XLang(Void)

-x-lang

§

BorderImageSource(<Image as ToComputedValue>::ComputedValue)

border-image-source

§

ListStyleImage(<Image as ToComputedValue>::ComputedValue)

list-style-image

§

ObjectPosition(<<Position as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

object-position

§

PerspectiveOrigin(<<Position as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

perspective-origin

§

GridTemplateColumns(<<GridTemplateComponent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

grid-template-columns

§

GridTemplateRows(<<GridTemplateComponent as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

grid-template-rows

§

GridAutoColumns(<ImplicitGridTracks as ToComputedValue>::ComputedValue)

grid-auto-columns

§

GridAutoRows(<ImplicitGridTracks as ToComputedValue>::ComputedValue)

grid-auto-rows

§

ColumnGap(<<NonNegativeLengthPercentageOrNormal as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

column-gap

§

RowGap(<<NonNegativeLengthPercentageOrNormal as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

row-gap

§

GridColumnEnd(<GridLine as ToComputedValue>::ComputedValue)

grid-column-end

§

GridColumnStart(<GridLine as ToComputedValue>::ComputedValue)

grid-column-start

§

GridRowEnd(<GridLine as ToComputedValue>::ComputedValue)

grid-row-end

§

GridRowStart(<GridLine as ToComputedValue>::ComputedValue)

grid-row-start

§

MaxBlockSize(Void)

max-block-size

§

MaxHeight(<<MaxSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

max-height

§

MaxInlineSize(Void)

max-inline-size

§

MaxWidth(<<MaxSize as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

max-width

§

BorderBottomLeftRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-bottom-left-radius

§

BorderBottomRightRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-bottom-right-radius

§

BorderEndEndRadius(Void)

border-end-end-radius

§

BorderEndStartRadius(Void)

border-end-start-radius

§

BorderStartEndRadius(Void)

border-start-end-radius

§

BorderStartStartRadius(Void)

border-start-start-radius

§

BorderTopLeftRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-top-left-radius

§

BorderTopRightRadius(<<BorderCornerRadius as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-top-right-radius

§

Bottom(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

bottom

§

InsetBlockEnd(Void)

inset-block-end

§

InsetBlockStart(Void)

inset-block-start

§

InsetInlineEnd(Void)

inset-inline-end

§

InsetInlineStart(Void)

inset-inline-start

§

Left(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

left

§

Right(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

right

§

Top(<<Inset as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

top

§

MarginBlockEnd(Void)

margin-block-end

§

MarginBlockStart(Void)

margin-block-start

§

MarginBottom(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

margin-bottom

§

MarginInlineEnd(Void)

margin-inline-end

§

MarginInlineStart(Void)

margin-inline-start

§

MarginLeft(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

margin-left

§

MarginRight(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

margin-right

§

MarginTop(<<Margin as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

margin-top

§

PaddingBlockEnd(Void)

padding-block-end

§

PaddingBlockStart(Void)

padding-block-start

§

PaddingBottom(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

padding-bottom

§

PaddingInlineEnd(Void)

padding-inline-end

§

PaddingInlineStart(Void)

padding-inline-start

§

PaddingLeft(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

padding-left

§

PaddingRight(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

padding-right

§

PaddingTop(<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

padding-top

§

BlockSize(Void)

block-size

§

Height(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

height

§

InlineSize(Void)

inline-size

§

MinBlockSize(Void)

min-block-size

§

MinHeight(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

min-height

§

MinInlineSize(Void)

min-inline-size

§

MinWidth(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

min-width

§

Width(<<Size as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

width

§

BorderBlockEndWidth(Void)

border-block-end-width

§

BorderBlockStartWidth(Void)

border-block-start-width

§

BorderBottomWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-bottom-width

§

BorderInlineEndWidth(Void)

border-inline-end-width

§

BorderInlineStartWidth(Void)

border-inline-start-width

§

BorderLeftWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-left-width

§

BorderRightWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-right-width

§

BorderTopWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-top-width

§

OutlineWidth(<<BorderSideWidth as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

outline-width

§

BackgroundColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

background-color

§

BorderBlockEndColor(Void)

border-block-end-color

§

BorderBlockStartColor(Void)

border-block-start-color

§

BorderBottomColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-bottom-color

§

BorderInlineEndColor(Void)

border-inline-end-color

§

BorderInlineStartColor(Void)

border-inline-start-color

§

BorderLeftColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-left-color

§

BorderRightColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-right-color

§

BorderTopColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

border-top-color

§

OutlineColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

outline-color

§

TextDecorationColor(<<Color as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue)

text-decoration-color

§

Custom(CustomAnimatedValue)

A custom property.

Implementations§

source§

impl AnimationValue

source

pub fn id(&self) -> PropertyDeclarationId<'_>

Returns the longhand id this animated value corresponds to.

source

pub fn interpolable_with(&self, other: &Self) -> bool

Returns whether this value is interpolable with another one.

source

pub fn uncompute(&self) -> PropertyDeclaration

“Uncompute” this animation value in order to be used inside the CSS cascade.

source

pub fn from_declaration( decl: &PropertyDeclaration, context: &mut Context<'_>, style: &ComputedValues, initial: &ComputedValues, ) -> Option<Self>

Construct an AnimationValue from a property declaration.

source

pub fn from_computed_values( property: PropertyDeclarationId<'_>, style: &ComputedValues, ) -> Option<Self>

Get an AnimationValue for an AnimatableLonghand from a given computed values.

source

pub fn set_in_style_for_servo(&self, style: &mut ComputedValues)

Update style with the value of this AnimationValue.

SERVO ONLY: This doesn’t properly handle things like updating ‘em’ units when animated font-size.

Trait Implementations§

source§

impl Animate for AnimationValue

source§

fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>

Animate a value towards another one, given an animation procedure.
source§

impl Clone for AnimationValue

source§

fn clone(&self) -> Self

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 ComputeSquaredDistance for AnimationValue

source§

fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>

Computes the squared distance between two animatable values.
source§

impl Debug for AnimationValue

source§

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

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

impl MallocSizeOf for AnimationValue

source§

fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.
source§

impl PartialEq for AnimationValue

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ToAnimatedZero for AnimationValue

source§

fn to_animated_zero(&self) -> Result<Self, ()>

Returns a value that, when added with an underlying value, will produce the underlying value. This is used for SMIL animation’s “by-animation” where SMIL first interpolates from the zero value to the ‘by’ value, and then adds the result to the underlying value. Read more

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> 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<T> MaybeBoxed<Box<T>> for T

source§

fn maybe_boxed(self) -> Box<T>

Convert
source§

impl<T> MaybeBoxed<T> for T

source§

fn maybe_boxed(self) -> T

Convert
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

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

§

type Output = T

Should always be Self
source§

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

§

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>,

§

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>,

§

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> ErasedDestructor for T
where T: 'static,

source§

impl<T> MaybeSendSync for T