Skip to main content

effective_effects

Function effective_effects 

Source
pub fn effective_effects(
    component: &Component,
    extra_delay: f64,
) -> Option<Cow<'_, [AnimationEffect]>>
Expand description

The full effect list for a component at paint time: style.animation, plus timeline steps shifted by their at, plus keyframes synthesized from timeline style-state changes (style.transition), plus the container-stagger delay applied to everything. Returns None when there is nothing to resolve, Some(Cow::Borrowed) on the no-merge fast path.