Struct tuix_internal::dropdown::Dropdown [−][src]
pub struct Dropdown<T> {
pub container: Entity,
pub header: Entity,
pub label: Entity,
pub value: T,
// some fields omitted
}
Fields
container: Entity
header: Entity
label: Entity
value: T
Implementations
Trait Implementations
type Data = T
pub fn on_update(
&mut self,
_state: &mut State,
_entity: Entity,
data: &<Dropdown<T> as Widget>::Data
)
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids