Enum style::properties::animated_properties::AnimatedProperty [] [src]

pub enum AnimatedProperty {
    BackgroundColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BackgroundImage(TT),
    BackgroundPositionX(TT),
    BackgroundPositionY(TT),
    BackgroundRepeat(TT),
    BackgroundAttachment(TT),
    BackgroundClip(TT),
    BackgroundOrigin(TT),
    BackgroundSize(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderTopColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderTopStyle(TT),
    BorderTopWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderLeftColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderLeftStyle(TT),
    BorderLeftWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderBottomColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderBottomStyle(TT),
    BorderBottomWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderRightColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderRightStyle(TT),
    BorderRightWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderTopLeftRadius(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderTopRightRadius(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderBottomRightRadius(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderBottomLeftRadius(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    BorderImageSource(TT),
    BorderImageOutset(TT),
    BorderImageRepeat(TT),
    BorderImageWidth(TT),
    BorderImageSlice(TT),
    Display(TT),
    Position(TT),
    Float(TT),
    Clear(TT),
    VerticalAlign(TT),
    OverflowX(TT),
    OverflowY(TT),
    Transform(TT),
    Perspective(TT),
    PerspectiveOrigin(TT),
    BackfaceVisibility(TT),
    TransformStyle(TT),
    TransformOrigin(TT),
    Color(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    ColumnWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    ColumnCount(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    ColumnGap(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    Content(TT),
    CounterIncrement(TT),
    CounterReset(TT),
    Opacity(TT),
    BoxShadow(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    Clip(TT),
    Filter(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    MixBlendMode(TT),
    FontFamily(TT),
    FontStyle(TT),
    FontVariantCaps(TT),
    FontWeight(TT),
    FontSize(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    FontStretch(TT),
    Visibility(TT),
    WritingMode(TT),
    Direction(TT),
    ImageRendering(TT),
    BorderCollapse(TT),
    EmptyCells(TT),
    CaptionSide(TT),
    BorderSpacing(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    LineHeight(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    TextTransform(TT),
    TextIndent(TT),
    OverflowWrap(TT),
    WordBreak(TT),
    TextJustify(TT),
    TextAlign(TT),
    LetterSpacing(TT),
    WordSpacing(TT),
    WhiteSpace(TT),
    TextShadow(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    TextRendering(TT),
    ListStylePosition(TT),
    ListStyleType(TT),
    ListStyleImage(TT),
    Quotes(TT),
    MarginTop(TT),
    MarginLeft(TT),
    MarginBottom(TT),
    MarginRight(TT),
    OutlineColor(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    OutlineStyle(TT),
    OutlineWidth(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    OutlineOffset(TT),
    PaddingTop(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    PaddingLeft(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    PaddingBottom(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    PaddingRight(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    Cursor(TT),
    PointerEvents(TT),
    Top(TT),
    Left(TT),
    Bottom(TT),
    Right(TT),
    ZIndex(TT),
    FlexDirection(TT),
    FlexWrap(TT),
    JustifyContent(TT),
    AlignContent(TT),
    AlignItems(TT),
    FlexGrow(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    FlexShrink(<T as ToAnimatedValue>::AnimatedValue, <T as ToAnimatedValue>::AnimatedValue),
    AlignSelf(TT),
    Order(TT),
    Width(TT),
    MinWidth(TT),
    MaxWidth(TT),
    Height(TT),
    MinHeight(TT),
    MaxHeight(TT),
    BoxSizing(TT),
    TableLayout(TT),
    TextOverflow(TT),
    UnicodeBidi(TT),
    TextDecorationLine(TT),
}

An animated property interpolation between two computed values for that property.

Variants

background-color

background-image

background-position-x

background-position-y

background-repeat

background-attachment

background-clip

background-origin

background-size

border-top-color

border-top-style

border-top-width

border-left-color

border-left-style

border-left-width

border-bottom-color

border-bottom-style

border-bottom-width

border-right-color

border-right-style

border-right-width

border-top-left-radius

border-top-right-radius

border-bottom-right-radius

border-bottom-left-radius

border-image-source

border-image-outset

border-image-repeat

border-image-width

border-image-slice

display

position

float

clear

vertical-align

overflow-x

overflow-y

transform

perspective

perspective-origin

backface-visibility

transform-style

transform-origin

color

column-width

column-count

column-gap

content

counter-increment

counter-reset

opacity

box-shadow

clip

filter

mix-blend-mode

font-family

font-style

font-variant-caps

font-weight

font-size

font-stretch

visibility

writing-mode

direction

image-rendering

border-collapse

empty-cells

caption-side

border-spacing

line-height

text-transform

text-indent

overflow-wrap

word-break

text-justify

text-align

letter-spacing

word-spacing

white-space

text-shadow

text-rendering

list-style-position

list-style-type

list-style-image

quotes

margin-top

margin-left

margin-bottom

margin-right

outline-color

outline-style

outline-width

outline-offset

padding-top

padding-left

padding-bottom

padding-right

cursor

pointer-events

top

left

bottom

right

z-index

flex-direction

flex-wrap

justify-content

align-content

align-items

flex-grow

flex-shrink

align-self

order

width

min-width

max-width

height

min-height

max-height

box-sizing

table-layout

text-overflow

unicode-bidi

text-decoration-line

Methods

impl AnimatedProperty
[src]

[src]

Get the name of this property.

[src]

Whether this interpolation does animate, that is, whether the start and end values are different.

[src]

Whether an animated property has the same end value as another.

[src]

Update style with the proper computed style corresponding to this animation at progress.

[src]

Get an animatable value from a transition-property, an old style, and a new style.

Trait Implementations

impl Clone for AnimatedProperty
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AnimatedProperty
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for AnimatedProperty
[src]

[src]

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

[src]

This method tests for !=.

impl MallocSizeOf for AnimatedProperty
[src]

[src]

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