Function zng::widget::node::match_node_leaf
source ยท pub fn match_node_leaf(
closure: impl FnMut(UiNodeOp<'_>) + Send + 'static,
) -> impl UiNode
Expand description
Creates a node that is implemented as a closure that matches over UiNodeOp
and does not delegate to any child node.