zng::widget::node

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