pub struct AnimationEffect {
pub delay: f64,
pub endDelay: f64,
pub iterationStart: f64,
pub iterations: Option<f64>,
pub duration: f64,
pub direction: String,
pub fill: String,
pub backendNodeId: Option<BackendNodeId>,
pub keyframesRule: Option<KeyframesRule>,
pub easing: String,
}Expand description
AnimationEffect instance
Fields§
§delay: f64‘AnimationEffect’’s delay.
endDelay: f64‘AnimationEffect’’s end delay.
iterationStart: f64‘AnimationEffect’’s iteration start.
iterations: Option<f64>‘AnimationEffect’’s iterations. Omitted if the value is infinite.
duration: f64‘AnimationEffect’’s iteration duration. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).
direction: String‘AnimationEffect’’s playback direction.
fill: String‘AnimationEffect’’s fill mode.
backendNodeId: Option<BackendNodeId>‘AnimationEffect’’s target node.
keyframesRule: Option<KeyframesRule>‘AnimationEffect’’s keyframes.
easing: String‘AnimationEffect’’s timing function.
Trait Implementations§
Source§impl Clone for AnimationEffect
impl Clone for AnimationEffect
Source§fn clone(&self) -> AnimationEffect
fn clone(&self) -> AnimationEffect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationEffect
impl Debug for AnimationEffect
Source§impl Default for AnimationEffect
impl Default for AnimationEffect
Source§fn default() -> AnimationEffect
fn default() -> AnimationEffect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnimationEffect
impl<'de> Deserialize<'de> for AnimationEffect
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
Auto Trait Implementations§
impl Freeze for AnimationEffect
impl RefUnwindSafe for AnimationEffect
impl Send for AnimationEffect
impl Sync for AnimationEffect
impl Unpin for AnimationEffect
impl UnsafeUnpin for AnimationEffect
impl UnwindSafe for AnimationEffect
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