pub fn get_index(child: impl UiNode, state: impl IntoVar<usize>) -> impl UiNode
P Get the child index in the parent stack.
P
The child index is zero-based.