Function style::animation::update_style_for_animation [] [src]

pub fn update_style_for_animation(
    context: &SharedStyleContext,
    animation: &Animation,
    style: &mut Arc<ComputedValues>,
    font_metrics_provider: &FontMetricsProvider
)

Updates a single animation and associated style based on the current time. If damage is provided, inserts the appropriate restyle damage.