ori::core::views

Function transition

Source
pub fn transition<T, V>(
    transition: Transition,
    active: bool,
    view: impl FnMut(&mut EventCx<'_, '_>, &mut T, f32) -> V + 'static,
) -> Animate<T, V, f32>
Expand description

Animate a transition.