pub struct Animation {
pub id: String,
pub name: String,
pub paused_state: bool,
pub play_state: String,
pub playback_rate: JsFloat,
pub start_time: JsFloat,
pub current_time: JsFloat,
pub Type: AnimationType,
pub source: Option<AnimationEffect>,
pub css_id: Option<String>,
}Fields§
§id: String§name: String§paused_state: bool§play_state: String§playback_rate: JsFloat§start_time: JsFloat§current_time: JsFloat§Type: AnimationType§source: Option<AnimationEffect>§css_id: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for Animation
impl<'de> Deserialize<'de> for Animation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more