Skip to main content

ToAnimatedValue

Trait ToAnimatedValue 

Source
pub trait ToAnimatedValue {
    type AnimatedValue;

    // Required methods
    fn to_animated_value(self, context: &Context<'_>) -> Self::AnimatedValue;
    fn from_animated_value(animated: Self::AnimatedValue) -> Self;
}
Expand description

Conversion between computed values and intermediate values for animations.

Notably, colors are represented as four floats during animations.

This trait is derivable with #[derive(ToAnimatedValue)].

Required Associated Types§

Source

type AnimatedValue

The type of the animated value.

Required Methods§

Source

fn to_animated_value(self, context: &Context<'_>) -> Self::AnimatedValue

Converts this value to an animated value.

Source

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Converts back an animated value into a computed value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToAnimatedValue for bool

Source§

impl ToAnimatedValue for f32

Source§

type AnimatedValue = f32

Source§

fn to_animated_value(self, _: &Context<'_>) -> Self

Source§

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Source§

impl ToAnimatedValue for i32

Source§

type AnimatedValue = i32

Source§

fn to_animated_value(self, _: &Context<'_>) -> Self

Source§

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Source§

impl ToAnimatedValue for u8

Source§

type AnimatedValue = u8

Source§

fn to_animated_value(self, _: &Context<'_>) -> Self

Source§

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Source§

impl ToAnimatedValue for u16

Source§

type AnimatedValue = u16

Source§

fn to_animated_value(self, _: &Context<'_>) -> Self

Source§

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Source§

impl ToAnimatedValue for u32

Source§

type AnimatedValue = u32

Source§

fn to_animated_value(self, _: &Context<'_>) -> Self

Source§

fn from_animated_value(animated: Self::AnimatedValue) -> Self

Source§

impl ToAnimatedValue for usize

Source§

impl<T> ToAnimatedValue for Box<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for Box<[T]>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for Option<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for SmallVec<[T; 1]>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for ThinVec<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for Vec<T>
where T: ToAnimatedValue,

Implementors§

Source§

impl ToAnimatedValue for AbsoluteColor

Source§

impl ToAnimatedValue for AnchorSideKeyword

Source§

impl ToAnimatedValue for AnchorSizeKeyword

Source§

impl ToAnimatedValue for Angle

Source§

impl ToAnimatedValue for ArcSize

Source§

impl ToAnimatedValue for ArcSweep

Source§

impl ToAnimatedValue for Atom

Source§

impl ToAnimatedValue for AtomString
where Atom: ToAnimatedValue<AnimatedValue = Atom>,

Source§

impl ToAnimatedValue for Au

Source§

impl ToAnimatedValue for AxisPositionKeyword

Source§

impl ToAnimatedValue for BaselineShiftKeyword

Source§

impl ToAnimatedValue for BlockEllipsis
where AtomString: ToAnimatedValue<AnimatedValue = AtomString>,

Source§

impl ToAnimatedValue for BorderSideWidth

Source§

impl ToAnimatedValue for CSSPixelLength

Source§

impl ToAnimatedValue for CascadeLevel
where u8: ToAnimatedValue<AnimatedValue = u8>,

Source§

impl ToAnimatedValue for CascadeOrigin

Source§

impl ToAnimatedValue for ColorInterpolationMethod

Source§

impl ToAnimatedValue for ColorMixFlags

Source§

impl ToAnimatedValue for ColorSpace

Source§

impl ToAnimatedValue for ComputedList

Source§

impl ToAnimatedValue for ComputedUrl

Source§

impl ToAnimatedValue for ContentVisibility

Source§

impl ToAnimatedValue for ControlReference

Source§

impl ToAnimatedValue for CoordBox

Source§

impl ToAnimatedValue for CornerShape
where f32: ToAnimatedValue<AnimatedValue = f32>,

Source§

impl ToAnimatedValue for CustomIdent
where Atom: ToAnimatedValue<AnimatedValue = Atom>,

Source§

impl ToAnimatedValue for DProperty
where SVGPathData: ToAnimatedValue<AnimatedValue = SVGPathData>,

Source§

impl ToAnimatedValue for DashedIdent
where Atom: ToAnimatedValue<AnimatedValue = Atom>,

Source§

impl ToAnimatedValue for Display
where u16: ToAnimatedValue<AnimatedValue = u16>,

Source§

impl ToAnimatedValue for FillRule

Source§

impl ToAnimatedValue for Flex
where CSSFloat: ToAnimatedValue<AnimatedValue = CSSFloat>,

Source§

impl ToAnimatedValue for FontSize

Source§

impl ToAnimatedValue for FontSizeKeyword

Source§

impl ToAnimatedValue for style::values::computed::font::FontStyle

Source§

impl ToAnimatedValue for FontTag
where u32: ToAnimatedValue<AnimatedValue = u32>,

Source§

impl ToAnimatedValue for FontWeight

Source§

impl ToAnimatedValue for FontWidth

Source§

impl ToAnimatedValue for GreaterThanOrEqualToOneNumber

Source§

impl ToAnimatedValue for HueInterpolationMethod

Source§

impl ToAnimatedValue for Image

Source§

impl ToAnimatedValue for Impossible

Source§

impl ToAnimatedValue for KeywordInfo

Source§

impl ToAnimatedValue for LengthPercentage

Source§

impl ToAnimatedValue for MathDepth

Source§

impl ToAnimatedValue for MaxLinesKeyword

Source§

impl ToAnimatedValue for NumberOrAngleComponent
where f32: ToAnimatedValue<AnimatedValue = f32>,

Source§

impl ToAnimatedValue for NumberOrPercentage
where Percentage: ToAnimatedValue<AnimatedValue = Percentage>, Number: ToAnimatedValue<AnimatedValue = Number>,

Source§

impl ToAnimatedValue for NumberOrPercentageComponent
where f32: ToAnimatedValue<AnimatedValue = f32>,

Source§

impl ToAnimatedValue for OffsetRotate
where bool: ToAnimatedValue<AnimatedValue = bool>, Angle: ToAnimatedValue<AnimatedValue = Angle>,

Source§

impl ToAnimatedValue for OverflowClipMarginBox

Source§

impl ToAnimatedValue for Path
where FillRule: ToAnimatedValue<AnimatedValue = FillRule>, SVGPathData: ToAnimatedValue<AnimatedValue = SVGPathData>,

Source§

impl ToAnimatedValue for Percentage
where CSSFloat: ToAnimatedValue<AnimatedValue = CSSFloat>,

Source§

impl ToAnimatedValue for PositiveInteger

Source§

impl ToAnimatedValue for RaySize

Source§

impl ToAnimatedValue for SVGPathData

Source§

impl ToAnimatedValue for ShapeBox

Source§

impl ToAnimatedValue for ShapeGeometryBox
where ShapeBox: ToAnimatedValue<AnimatedValue = ShapeBox>,

Source§

impl ToAnimatedValue for TextDecorationInset

Source§

impl ToAnimatedValue for TransformBox

Source§

impl ToAnimatedValue for Visibility

Source§

impl ToAnimatedValue for ZeroToOneNumber

Source§

impl ToAnimatedValue for Zoom

Source§

impl<A, B> ToAnimatedValue for Either<A, B>

Source§

impl<Angle, AxisPosition, Position, LengthPercentage, BasicShapeRect> ToAnimatedValue for GenericBasicShape<Angle, AxisPosition, Position, LengthPercentage, BasicShapeRect>
where Angle: ToAnimatedValue, AxisPosition: ToAnimatedValue, Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue, BasicShapeRect: ToAnimatedValue, Circle<Position, LengthPercentage>: ToAnimatedValue<AnimatedValue = Circle<<Position as ToAnimatedValue>::AnimatedValue, <LengthPercentage as ToAnimatedValue>::AnimatedValue>>, Ellipse<Position, LengthPercentage>: ToAnimatedValue<AnimatedValue = Ellipse<<Position as ToAnimatedValue>::AnimatedValue, <LengthPercentage as ToAnimatedValue>::AnimatedValue>>, GenericPathOrShapeFunction<Angle, AxisPosition, Position, LengthPercentage>: ToAnimatedValue<AnimatedValue = GenericPathOrShapeFunction<<Angle as ToAnimatedValue>::AnimatedValue, <AxisPosition as ToAnimatedValue>::AnimatedValue, <Position as ToAnimatedValue>::AnimatedValue, <LengthPercentage as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<Angle, AxisPosition, Position, LengthPercentage> ToAnimatedValue for GenericPathOrShapeFunction<Angle, AxisPosition, Position, LengthPercentage>
where Angle: ToAnimatedValue, AxisPosition: ToAnimatedValue, Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<Angle, AxisPosition, Position, LengthPercentage> ToAnimatedValue for GenericShapeCommand<Angle, AxisPosition, Position, LengthPercentage>
where Angle: ToAnimatedValue, AxisPosition: ToAnimatedValue, Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<Angle, AxisPosition, Position, LengthPercentage> ToAnimatedValue for Shape<Angle, AxisPosition, Position, LengthPercentage>
where Angle: ToAnimatedValue, AxisPosition: ToAnimatedValue, Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<Angle, Factor, Length, Shadow, U> ToAnimatedValue for GenericFilter<Angle, Factor, Length, Shadow, U>
where Angle: ToAnimatedValue, Factor: ToAnimatedValue, Length: ToAnimatedValue, Shadow: ToAnimatedValue, U: ToAnimatedValue, NonNegative<Length>: ToAnimatedValue<AnimatedValue = NonNegative<<Length as ToAnimatedValue>::AnimatedValue>>, NonNegative<Factor>: ToAnimatedValue<AnimatedValue = NonNegative<<Factor as ToAnimatedValue>::AnimatedValue>>, ZeroToOne<Factor>: ToAnimatedValue<AnimatedValue = ZeroToOne<<Factor as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<Angle, Number, Length, Integer, LengthPercentage> ToAnimatedValue for GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>

Source§

impl<Angle, Position> ToAnimatedValue for GenericRayFunction<Angle, Position>
where Angle: ToAnimatedValue, Position: ToAnimatedValue,

Source§

impl<Angle> ToAnimatedValue for style::values::generics::font::FontStyle<Angle>
where Angle: ToAnimatedValue,

Source§

impl<AxisPosition, LengthPercentage> ToAnimatedValue for AxisEndPoint<AxisPosition, LengthPercentage>
where AxisPosition: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<BasicShape, I> ToAnimatedValue for GenericShapeOutside<BasicShape, I>
where BasicShape: ToAnimatedValue, I: ToAnimatedValue,

Source§

impl<BasicShape, U> ToAnimatedValue for GenericClipPath<BasicShape, U>
where BasicShape: ToAnimatedValue, U: ToAnimatedValue, Box<BasicShape>: ToAnimatedValue<AnimatedValue = Box<<BasicShape as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<C, U> ToAnimatedValue for GenericSVGPaintKind<C, U>

Source§

impl<C> ToAnimatedValue for GenericCaretColor<C>
where C: ToAnimatedValue,

Source§

impl<C> ToAnimatedValue for GenericColorOrAuto<C>
where C: ToAnimatedValue,

Source§

impl<C> ToAnimatedValue for GenericSVGPaintFallback<C>
where C: ToAnimatedValue,

Source§

impl<Color, Percentage> ToAnimatedValue for GenericColorMix<Color, Percentage>
where Color: ToAnimatedValue, Percentage: ToAnimatedValue,

Source§

impl<Color, Percentage> ToAnimatedValue for GenericColorMixItem<Color, Percentage>
where Color: ToAnimatedValue, Percentage: ToAnimatedValue,

Source§

impl<Color, SizeLength, BlurShapeLength, ShapeLength> ToAnimatedValue for GenericBoxShadow<Color, SizeLength, BlurShapeLength, ShapeLength>
where Color: ToAnimatedValue, SizeLength: ToAnimatedValue, BlurShapeLength: ToAnimatedValue, ShapeLength: ToAnimatedValue,

Source§

impl<Color, SizeLength, ShapeLength> ToAnimatedValue for GenericSimpleShadow<Color, SizeLength, ShapeLength>
where Color: ToAnimatedValue, SizeLength: ToAnimatedValue, ShapeLength: ToAnimatedValue,

Source§

impl<Color, Url> ToAnimatedValue for GenericSVGPaint<Color, Url>
where Color: ToAnimatedValue, Url: ToAnimatedValue,

Source§

impl<Color> ToAnimatedValue for GenericScrollbarColor<Color>
where Color: ToAnimatedValue,

Source§

impl<Factor> ToAnimatedValue for GenericFontSizeAdjust<Factor>
where Factor: ToAnimatedValue,

Source§

impl<Fallback> ToAnimatedValue for GenericAnchorSizeFunction<Fallback>
where Fallback: ToAnimatedValue,

Source§

impl<Function> ToAnimatedValue for GenericOffsetPath<Function>
where Function: ToAnimatedValue,

Source§

impl<H, V, Depth> ToAnimatedValue for GenericTransformOrigin<H, V, Depth>

Source§

impl<H, V> ToAnimatedValue for GenericOffsetPosition<H, V>

Source§

impl<H, V> ToAnimatedValue for GenericPosition<H, V>

Source§

impl<I> ToAnimatedValue for GenericLineClamp<I>
where I: ToAnimatedValue,

Source§

impl<I> ToAnimatedValue for GenericLineNameList<I>
where I: ToAnimatedValue,

Source§

impl<I> ToAnimatedValue for GenericLineNameListValue<I>
where I: ToAnimatedValue,

Source§

impl<I> ToAnimatedValue for GenericMaxLines<I>
where I: ToAnimatedValue,

Source§

impl<I> ToAnimatedValue for GenericNameRepeat<I>
where I: ToAnimatedValue,

Source§

impl<I> ToAnimatedValue for GenericZIndex<I>
where I: ToAnimatedValue,

Source§

impl<Integer> ToAnimatedValue for FeatureTagValue<Integer>
where Integer: ToAnimatedValue,

Source§

impl<Integer> ToAnimatedValue for GenericHyphenateLimitChars<Integer>
where Integer: ToAnimatedValue,

Source§

impl<Integer> ToAnimatedValue for RepeatCount<Integer>
where Integer: ToAnimatedValue,

Source§

impl<L, I> ToAnimatedValue for GenericGridTemplateComponent<L, I>

Source§

impl<L, I> ToAnimatedValue for GenericTrackRepeat<L, I>

Source§

impl<L, N> ToAnimatedValue for GenericLengthOrNumber<L, N>

Source§

impl<L> ToAnimatedValue for GenericBorderCornerRadius<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericBorderSpacing<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericContainIntrinsicSize<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericLetterSpacing<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericOverflowClipMargin<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericPerspectiveFunction<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericSVGLength<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericSVGStrokeDashArray<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericTextDecorationLength<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericTrackBreadth<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for GenericTrackSize<L>
where L: ToAnimatedValue,

Source§

impl<L> ToAnimatedValue for Size2D<L>
where L: ToAnimatedValue,

Source§

impl<LP, N> ToAnimatedValue for GenericBorderImageSideWidth<LP, N>

Source§

impl<LP> ToAnimatedValue for GenericMargin<LP>
where LP: ToAnimatedValue,

Source§

impl<LengthOrAuto> ToAnimatedValue for GenericClipRect<LengthOrAuto>
where LengthOrAuto: ToAnimatedValue,

Source§

impl<LengthPercent> ToAnimatedValue for GenericBackgroundSize<LengthPercent>
where LengthPercent: ToAnimatedValue,

Source§

impl<LengthPercent> ToAnimatedValue for GenericLengthPercentageOrAuto<LengthPercent>
where LengthPercent: ToAnimatedValue,

Source§

impl<LengthPercent> ToAnimatedValue for GenericLengthPercentageOrNormal<LengthPercent>
where LengthPercent: ToAnimatedValue,

Source§

impl<LengthPercent> ToAnimatedValue for GenericMaxSize<LengthPercent>
where LengthPercent: ToAnimatedValue,

Source§

impl<LengthPercent> ToAnimatedValue for GenericSize<LengthPercent>
where LengthPercent: ToAnimatedValue,

Source§

impl<LengthPercentage, Integer> ToAnimatedValue for GenericTrackList<LengthPercentage, Integer>
where LengthPercentage: ToAnimatedValue, Integer: ToAnimatedValue,

Source§

impl<LengthPercentage, Integer> ToAnimatedValue for GenericTrackListValue<LengthPercentage, Integer>
where LengthPercentage: ToAnimatedValue, Integer: ToAnimatedValue, GenericTrackSize<LengthPercentage>: ToAnimatedValue<AnimatedValue = GenericTrackSize<<LengthPercentage as ToAnimatedValue>::AnimatedValue>>, GenericTrackRepeat<LengthPercentage, Integer>: ToAnimatedValue<AnimatedValue = GenericTrackRepeat<<LengthPercentage as ToAnimatedValue>::AnimatedValue, <Integer as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<LengthPercentage, Length> ToAnimatedValue for GenericTranslate<LengthPercentage, Length>
where LengthPercentage: Zero + ZeroNoPercent + ToAnimatedValue, Length: Zero + ToAnimatedValue, <LengthPercentage as ToAnimatedValue>::AnimatedValue: Zero + ZeroNoPercent, <Length as ToAnimatedValue>::AnimatedValue: Zero,

Source§

impl<LengthPercentage> ToAnimatedValue for ArcRadii<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for AxisPosition<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for CoordinatePair<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericBaselineShift<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericBorderRadius<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericInsetRect<LengthPercentage>
where LengthPercentage: ToAnimatedValue, GenericBorderRadius<NonNegative<LengthPercentage>>: ToAnimatedValue<AnimatedValue = GenericBorderRadius<NonNegative<<LengthPercentage as ToAnimatedValue>::AnimatedValue>>>,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericPolygon<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericShapeRadius<LengthPercentage>
where LengthPercentage: ToAnimatedValue, NonNegative<LengthPercentage>: ToAnimatedValue<AnimatedValue = NonNegative<<LengthPercentage as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<LengthPercentage> ToAnimatedValue for GenericTextIndent<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for PolygonCoord<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<LengthPercentage> ToAnimatedValue for RelativeControlPoint<LengthPercentage>
where LengthPercentage: ToAnimatedValue,

Source§

impl<N, L> ToAnimatedValue for GenericLineHeight<N, L>

Source§

impl<N> ToAnimatedValue for GenericAspectRatio<N>

Source§

impl<N> ToAnimatedValue for NumberOrAuto<N>
where N: ToAnimatedValue,

Source§

impl<N> ToAnimatedValue for PreferredRatio<N>
where N: ToAnimatedValue, Ratio<N>: ToAnimatedValue<AnimatedValue = Ratio<<N as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<N> ToAnimatedValue for Ratio<N>
where N: ToAnimatedValue,

Source§

impl<NonNegativeLength> ToAnimatedValue for GenericPerspective<NonNegativeLength>
where NonNegativeLength: ToAnimatedValue,

Source§

impl<Number, Angle> ToAnimatedValue for GenericRotate<Number, Angle>
where Number: ToAnimatedValue, Angle: ToAnimatedValue,

Source§

impl<Number> ToAnimatedValue for GenericScale<Number>
where Number: ToAnimatedValue,

Source§

impl<Number> ToAnimatedValue for VariationValue<Number>
where Number: ToAnimatedValue,

Source§

impl<NumberOrPercentage> ToAnimatedValue for GenericBorderImageSlice<NumberOrPercentage>
where NumberOrPercentage: ToAnimatedValue,

Source§

impl<OpacityType> ToAnimatedValue for GenericSVGOpacity<OpacityType>
where OpacityType: ToAnimatedValue,

Source§

impl<OriginColor> ToAnimatedValue for ColorFunction<OriginColor>
where OriginColor: ToAnimatedValue,

Source§

impl<P, LP> ToAnimatedValue for GenericInset<P, LP>

Source§

impl<P> ToAnimatedValue for GenericAnchorSide<P>
where P: ToAnimatedValue,

Source§

impl<Percentage, Fallback> ToAnimatedValue for GenericAnchorFunction<Percentage, Fallback>
where Percentage: ToAnimatedValue, Fallback: ToAnimatedValue,

Source§

impl<Percentage> ToAnimatedValue for GenericColor<Percentage>
where Percentage: ToAnimatedValue,

Source§

impl<Pos> ToAnimatedValue for GenericPositionOrAuto<Pos>
where Pos: ToAnimatedValue,

Source§

impl<Position, LengthPercentage> ToAnimatedValue for Circle<Position, LengthPercentage>
where Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue, GenericShapeRadius<LengthPercentage>: ToAnimatedValue<AnimatedValue = GenericShapeRadius<<LengthPercentage as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<Position, LengthPercentage> ToAnimatedValue for CommandEndPoint<Position, LengthPercentage>
where Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<Position, LengthPercentage> ToAnimatedValue for ControlPoint<Position, LengthPercentage>
where Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue,

Source§

impl<Position, LengthPercentage> ToAnimatedValue for Ellipse<Position, LengthPercentage>
where Position: ToAnimatedValue, LengthPercentage: ToAnimatedValue, GenericShapeRadius<LengthPercentage>: ToAnimatedValue<AnimatedValue = GenericShapeRadius<<LengthPercentage as ToAnimatedValue>::AnimatedValue>>,

Source§

impl<PositiveInteger> ToAnimatedValue for GenericColumnCount<PositiveInteger>
where PositiveInteger: ToAnimatedValue,

Source§

impl<R> ToAnimatedValue for GenericClipRectOrAuto<R>
where R: ToAnimatedValue,

Source§

impl<S> ToAnimatedValue for GenericFlexBasis<S>
where S: ToAnimatedValue,

Source§

impl<Shapes, RayFunction, U> ToAnimatedValue for GenericOffsetPathFunction<Shapes, RayFunction, U>
where Shapes: ToAnimatedValue, RayFunction: ToAnimatedValue, U: ToAnimatedValue,

Source§

impl<T: ToAnimatedValue + ClampToNonNegative> ToAnimatedValue for NonNegative<T>

Source§

impl<T> ToAnimatedValue for FontSettings<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for GenericMatrix3D<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for GenericMatrix<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for GenericTransform<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for Optional<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_composition::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_delay::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_direction::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_duration::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_fill_mode::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_iteration_count::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_name::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_play_state::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_range_end::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_range_start::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_timeline::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::animation_timing_function::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::backdrop_filter::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_attachment::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_blend_mode::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_clip::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_image::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_origin::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_position_x::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_position_y::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_repeat::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::background_size::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::box_shadow::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::filter::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_clip::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_composite::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_image::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_mode::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_origin::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_position_x::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_position_y::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_repeat::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::mask_size::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::text_shadow::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::transition_behavior::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::transition_delay::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::transition_duration::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::transition_property::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for style::properties::generated::longhands::transition_timing_function::computed_value::OwnedList<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for OwnedSlice<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for Rect<T>
where T: ToAnimatedValue,

Source§

impl<T> ToAnimatedValue for TreeScoped<T>
where T: ToAnimatedValue,

Source§

impl<U> ToAnimatedValue for GenericUrlOrNone<U>
where U: ToAnimatedValue,

Source§

impl<ValueType> ToAnimatedValue for ColorComponent<ValueType>