Function dioxus_spring::use_spring_ref
source · pub fn use_spring_ref<T, V>(
cx: Scope<'_, T>,
from: V,
f: impl FnMut(V) + 'static
) -> &UseSpringRef<V>where
V: Lerp<Scalar = f32> + Clone + 'static,pub fn use_spring_ref<T, V>(
cx: Scope<'_, T>,
from: V,
f: impl FnMut(V) + 'static
) -> &UseSpringRef<V>where
V: Lerp<Scalar = f32> + Clone + 'static,