Function zng::widget::node::match_node_typed

source ยท
pub fn match_node_typed<C>(
    child: C,
    closure: impl FnMut(&mut MatchNodeChild<C>, UiNodeOp<'_>) + Send + 'static,
) -> impl UiNode
where C: UiNode,
Expand description

Like match_node, but does not change the child type when build with dyn_node.