zng_app::widget::node

Function match_node_typed

Source
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.