pub fn with_style_fn(
child: impl IntoUiNode,
style_context: ContextVar<StyleFn>,
style: impl IntoVar<StyleFn>,
) -> UiNodeExpand description
Helper for declaring the style_fn property.
The impl_style_fn! and impl_named_style_fn! macros uses this function as the implementation of style_fn.