pub fn match_node_typed<C: UiNode>(
child: C,
closure: impl FnMut(&mut MatchNodeChild<C>, UiNodeOp<'_>) + Send + 'static,
) -> impl UiNode
Expand description
Like match_node
, but does not change the child type when build with dyn_node
.
pub fn match_node_typed<C: UiNode>(
child: C,
closure: impl FnMut(&mut MatchNodeChild<C>, UiNodeOp<'_>) + Send + 'static,
) -> impl UiNode
Like match_node
, but does not change the child type when build with dyn_node
.