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>,
pub view_or_scroll_timeline: Option<ViewOrScrollTimeline>,
}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>§view_or_scroll_timeline: Option<ViewOrScrollTimeline>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
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more