Skip to main content

AnimatedValue

Trait AnimatedValue 

Source
pub trait AnimatedValue: Sealed {
    const ACCEPTS_DATA: bool;
}
Expand description

A type an Animated value can hold. Sealed: implemented for the model’s animatable types.

Required Associated Constants§

Source

const ACCEPTS_DATA: bool

Whether the type takes the data value mode.

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 AnimatedValue for String

Source§

const ACCEPTS_DATA: bool = false

Source§

impl AnimatedValue for f32

Implementors§