pub struct AnimationProperties {
pub duration: Option<u32>,
pub timing_function: Option<TimingFunction>,
pub delay: Option<u32>,
pub iteration_count: Option<AnimationIteration>,
pub direction: Option<AnimationDirection>,
}Expand description
Animation properties override
Fields§
§duration: Option<u32>Duration override
timing_function: Option<TimingFunction>Timing function override
delay: Option<u32>Delay override
iteration_count: Option<AnimationIteration>Iteration count override
direction: Option<AnimationDirection>Direction override
Trait Implementations§
Source§impl Clone for AnimationProperties
impl Clone for AnimationProperties
Source§fn clone(&self) -> AnimationProperties
fn clone(&self) -> AnimationProperties
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 AnimationProperties
impl Debug for AnimationProperties
Source§impl<'de> Deserialize<'de> for AnimationProperties
impl<'de> Deserialize<'de> for AnimationProperties
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 AnimationProperties
impl PartialEq for AnimationProperties
Source§impl Serialize for AnimationProperties
impl Serialize for AnimationProperties
impl StructuralPartialEq for AnimationProperties
Auto Trait Implementations§
impl Freeze for AnimationProperties
impl RefUnwindSafe for AnimationProperties
impl Send for AnimationProperties
impl Sync for AnimationProperties
impl Unpin for AnimationProperties
impl UnwindSafe for AnimationProperties
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