#[repr(u16)]
pub enum AnimationValue {
Show 192 variants AlignContent(<SpecifiedValue as ToComputedValue>::ComputedValue), AlignItems(<SpecifiedValue as ToComputedValue>::ComputedValue), AlignSelf(<SpecifiedValue as ToComputedValue>::ComputedValue), AspectRatio(<AspectRatio as ToComputedValue>::ComputedValue), 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), ImageRendering(<ImageRendering as ToComputedValue>::ComputedValue), JustifyContent(<SpecifiedValue as ToComputedValue>::ComputedValue), ListStylePosition(<SpecifiedValue as ToComputedValue>::ComputedValue), ListStyleType(<SpecifiedValue as ToComputedValue>::ComputedValue), MixBlendMode(<SpecifiedValue as ToComputedValue>::ComputedValue), Opacity(<Opacity as ToComputedValue>::ComputedValue), Order(<Integer as ToComputedValue>::ComputedValue), OutlineStyle(<OutlineStyle as ToComputedValue>::ComputedValue), OverflowWrap(<OverflowWrap as ToComputedValue>::ComputedValue), PointerEvents(<SpecifiedValue 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), TransformStyle(<TransformStyle as ToComputedValue>::ComputedValue), UnicodeBidi(Void), Visibility(<SpecifiedValue as ToComputedValue>::ComputedValue), WhiteSpace(<SpecifiedValue as ToComputedValue>::ComputedValue), WordBreak(<WordBreak as ToComputedValue>::ComputedValue), WritingMode(Void), ZIndex(<ZIndex as ToComputedValue>::ComputedValue), 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), BackgroundPositionY(<SpecifiedValue as ToComputedValue>::ComputedValue), 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), Color(<<ColorPropertyValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), ColumnGap(<<NonNegativeLengthPercentageOrNormal as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), 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), LetterSpacing(<LetterSpacing as ToComputedValue>::ComputedValue), LineHeight(<<LineHeight as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), OutlineOffset(<Length as ToComputedValue>::ComputedValue), Perspective(<<Perspective as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), PerspectiveOrigin(<Position as ToComputedValue>::ComputedValue), Quotes(<Quotes as ToComputedValue>::ComputedValue), Rotate(<Rotate as ToComputedValue>::ComputedValue), Scale(<Scale as ToComputedValue>::ComputedValue), TextIndent(<TextIndent as ToComputedValue>::ComputedValue), TextOverflow(<TextOverflow as ToComputedValue>::ComputedValue), TextShadow(<<SpecifiedValue as ToComputedValue>::ComputedValue as ToAnimatedValue>::AnimatedValue), Transform(<Transform as ToComputedValue>::ComputedValue), TransformOrigin(<TransformOrigin as ToComputedValue>::ComputedValue), TransitionBehavior(Void), TransitionDelay(Void), TransitionDuration(Void), TransitionProperty(Void), TransitionTimingFunction(Void), Translate(<Translate as ToComputedValue>::ComputedValue), VerticalAlign(<VerticalAlign as ToComputedValue>::ComputedValue), WordSpacing(<WordSpacing as ToComputedValue>::ComputedValue), XLang(Void), BorderImageSource(<Image as ToComputedValue>::ComputedValue), ListStyleImage(<Image 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), 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), Bottom(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), InsetBlockEnd(Void), InsetBlockStart(Void), InsetInlineEnd(Void), InsetInlineStart(Void), Left(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), MarginBlockEnd(Void), MarginBlockStart(Void), MarginBottom(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), MarginInlineEnd(Void), MarginInlineStart(Void), MarginLeft(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), MarginRight(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), MarginTop(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), Right(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), Top(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue), 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(<SpecifiedValue as ToComputedValue>::ComputedValue)

align-content

§

AlignItems(<SpecifiedValue as ToComputedValue>::ComputedValue)

align-items

§

AlignSelf(<SpecifiedValue as ToComputedValue>::ComputedValue)

align-self

§

AspectRatio(<AspectRatio as ToComputedValue>::ComputedValue)

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

§

ImageRendering(<ImageRendering as ToComputedValue>::ComputedValue)

image-rendering

§

JustifyContent(<SpecifiedValue as ToComputedValue>::ComputedValue)

justify-content

§

ListStylePosition(<SpecifiedValue as ToComputedValue>::ComputedValue)

list-style-position

§

ListStyleType(<SpecifiedValue as ToComputedValue>::ComputedValue)

list-style-type

§

MixBlendMode(<SpecifiedValue as ToComputedValue>::ComputedValue)

mix-blend-mode

§

Opacity(<Opacity as ToComputedValue>::ComputedValue)

opacity

§

Order(<Integer as ToComputedValue>::ComputedValue)

order

§

OutlineStyle(<OutlineStyle as ToComputedValue>::ComputedValue)

outline-style

§

OverflowWrap(<OverflowWrap as ToComputedValue>::ComputedValue)

overflow-wrap

§

PointerEvents(<SpecifiedValue 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

§

TransformStyle(<TransformStyle as ToComputedValue>::ComputedValue)

transform-style

§

UnicodeBidi(Void)

unicode-bidi

§

Visibility(<SpecifiedValue as ToComputedValue>::ComputedValue)

visibility

§

WhiteSpace(<SpecifiedValue as ToComputedValue>::ComputedValue)

white-space

§

WordBreak(<WordBreak as ToComputedValue>::ComputedValue)

word-break

§

WritingMode(Void)

writing-mode

§

ZIndex(<ZIndex as ToComputedValue>::ComputedValue)

z-index

§

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)

background-position-x

§

BackgroundPositionY(<SpecifiedValue as ToComputedValue>::ComputedValue)

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)

clip

§

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

color

§

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

column-gap

§

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

§

LetterSpacing(<LetterSpacing as ToComputedValue>::ComputedValue)

letter-spacing

§

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

line-height

§

OutlineOffset(<Length as ToComputedValue>::ComputedValue)

outline-offset

§

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

perspective

§

PerspectiveOrigin(<Position as ToComputedValue>::ComputedValue)

perspective-origin

§

Quotes(<Quotes as ToComputedValue>::ComputedValue)

quotes

§

Rotate(<Rotate as ToComputedValue>::ComputedValue)

rotate

§

Scale(<Scale as ToComputedValue>::ComputedValue)

scale

§

TextIndent(<TextIndent as ToComputedValue>::ComputedValue)

text-indent

§

TextOverflow(<TextOverflow as ToComputedValue>::ComputedValue)

text-overflow

§

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

text-shadow

§

Transform(<Transform as ToComputedValue>::ComputedValue)

transform

§

TransformOrigin(<TransformOrigin as ToComputedValue>::ComputedValue)

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)

translate

§

VerticalAlign(<VerticalAlign as ToComputedValue>::ComputedValue)

vertical-align

§

WordSpacing(<WordSpacing as ToComputedValue>::ComputedValue)

word-spacing

§

XLang(Void)

-x-lang

§

BorderImageSource(<Image as ToComputedValue>::ComputedValue)

border-image-source

§

ListStyleImage(<Image as ToComputedValue>::ComputedValue)

list-style-image

§

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

§

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

§

Bottom(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

bottom

§

InsetBlockEnd(Void)

inset-block-end

§

InsetBlockStart(Void)

inset-block-start

§

InsetInlineEnd(Void)

inset-inline-end

§

InsetInlineStart(Void)

inset-inline-start

§

Left(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

left

§

MarginBlockEnd(Void)

margin-block-end

§

MarginBlockStart(Void)

margin-block-start

§

MarginBottom(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

margin-bottom

§

MarginInlineEnd(Void)

margin-inline-end

§

MarginInlineStart(Void)

margin-inline-start

§

MarginLeft(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

margin-left

§

MarginRight(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

margin-right

§

MarginTop(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

margin-top

§

Right(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

right

§

Top(<LengthPercentageOrAuto as ToComputedValue>::ComputedValue)

top

§

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<'_>, 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<AnimationValue> 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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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, Global>> for T

source§

fn maybe_boxed(self) -> Box<T, Global>

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

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere 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 Twhere 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 Twhere 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> Erased for T

source§

impl<T> ErasedDestructor for Twhere T: 'static,

source§

impl<T> MaybeSendSync for T