pub struct AnimationEffect {
pub delay: f64,
pub end_delay: f64,
pub iteration_start: f64,
pub iterations: f64,
pub duration: f64,
pub direction: String,
pub fill: String,
pub backend_node_id: Option<BackendNodeId>,
pub keyframes_rule: Option<KeyframesRule>,
pub easing: String,
}Expand description
AnimationEffect instance AnimationEffect
Fields§
§delay: f64AnimationEffect’s delay.
end_delay: f64AnimationEffect’s end delay.
iteration_start: f64AnimationEffect’s iteration start.
iterations: f64AnimationEffect’s iterations.
duration: f64AnimationEffect’s iteration duration.
Milliseconds for time based animations and
percentage [0 - 100] for scroll driven animations
(i.e. when viewOrScrollTimeline exists).
direction: StringAnimationEffect’s playback direction.
fill: StringAnimationEffect’s fill mode.
backend_node_id: Option<BackendNodeId>AnimationEffect’s target node.
keyframes_rule: Option<KeyframesRule>AnimationEffect’s keyframes.
easing: StringAnimationEffect’s timing function.
Implementations§
Source§impl AnimationEffect
impl AnimationEffect
pub fn builder() -> AnimationEffectBuilder
Source§impl AnimationEffect
impl AnimationEffect
pub const IDENTIFIER: &'static str = "Animation.AnimationEffect"
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<'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
Source§impl PartialEq for AnimationEffect
impl PartialEq for AnimationEffect
Source§impl Serialize for AnimationEffect
impl Serialize for AnimationEffect
impl StructuralPartialEq for AnimationEffect
Auto Trait Implementations§
impl Freeze for AnimationEffect
impl RefUnwindSafe for AnimationEffect
impl Send for AnimationEffect
impl Sync for AnimationEffect
impl Unpin 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