Struct chromiumoxide::cdp::browser_protocol::animation::AnimationEffect
source · 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: f64
AnimationEffect
’s delay.
end_delay: f64
AnimationEffect
’s end delay.
iteration_start: f64
AnimationEffect
’s iteration start.
iterations: f64
AnimationEffect
’s iterations.
duration: f64
AnimationEffect
’s iteration duration.
direction: String
AnimationEffect
’s playback direction.
fill: String
AnimationEffect
’s fill mode.
backend_node_id: Option<BackendNodeId>
AnimationEffect
’s target node.
keyframes_rule: Option<KeyframesRule>
AnimationEffect
’s keyframes.
easing: String
AnimationEffect
’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 copy 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<AnimationEffect, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AnimationEffect, <__D as Deserializer<'de>>::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§fn eq(&self, other: &AnimationEffect) -> bool
fn eq(&self, other: &AnimationEffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AnimationEffect
impl Serialize for AnimationEffect
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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