pub fn button_indexed(
ui: &mut Ui<'_>,
index: u64,
text: &str,
spec: NodeSpec,
hint: Option<&str>,
)Expand description
button_with keyed by a data index rather than a label — a row of a
virtual list (Ui::open_indexed), so the button keeps its focus, its
hover and its tweens as the built range slides and the same text on
two rows is two nodes. What <button index> and
button { index = } lower to.