Function freya::prelude::use_selector
pub fn use_selector<I, O>(
cx: &ScopeState,
tracked: &Tracked<I>,
init: impl FnMut(&I) -> O + 'static
) -> Owhere
I: 'static,
O: Clone + PartialEq<O> + 'static,
pub fn use_selector<I, O>(
cx: &ScopeState,
tracked: &Tracked<I>,
init: impl FnMut(&I) -> O + 'static
) -> Owhere
I: 'static,
O: Clone + PartialEq<O> + 'static,