pub fn from_fn_owned<P: PartialEq + Clone + 'static>(
key: impl Hash,
props: P,
comp: impl Fn(P) -> Element + 'static,
) -> ElementExpand description
Create a component instance from a given Key, Props and Render function. Similar to from_fn but instead gives owned props.