Struct tuix_internal::containers::listbox::ListItem [−][src]
pub struct ListItem<W> { /* fields omitted */ }
Implementations
Trait Implementations
pub fn on_update(
&mut self,
state: &mut State,
entity: Entity,
data: &<ListItem<W> as Widget>::Data
)
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids