Struct style::stylesheets::keyframes_rule::KeyframesStep
[−]
[src]
pub struct KeyframesStep { pub start_percentage: KeyframePercentage, pub value: KeyframesStepValue, pub declared_timing_function: bool, }
A single step from a keyframe animation.
Fields
start_percentage: KeyframePercentage
The percentage of the animation duration when this step starts.
value: KeyframesStepValue
Declarations that will determine the final style during the step, or
ComputedValues
if this is an autogenerated step.
declared_timing_function: bool
Wether a animation-timing-function declaration exists in the list of declarations.
This is used to know when to override the keyframe animation style.
Methods
impl KeyframesStep
[src]
pub fn get_animation_timing_function(
&self,
guard: &SharedRwLockReadGuard
) -> Option<SpecifiedTimingFunction>
[src]
&self,
guard: &SharedRwLockReadGuard
) -> Option<SpecifiedTimingFunction>
Return specified TransitionTimingFunction if this KeyframesSteps has 'animation-timing-function'.
Trait Implementations
impl Debug for KeyframesStep
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for KeyframesStep
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more