Function zng::widget::node::with_rev_index_node

source ยท
pub fn with_rev_index_node(
    child: impl UiNode,
    panel_list_id: impl Into<StateId<PanelListRange>>,
    update: impl FnMut(Option<usize>) + Send + 'static,
) -> impl UiNode
Expand description

Helper for a property that gets the reverse index of the widget in the parent panel.

See with_index_len_node for more details.