Struct tuix::Dropdown [−]
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
)
fn widget_name(&self) -> String
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids
Auto Trait Implementations
impl<T> !RefUnwindSafe for Dropdown<T>
impl<T> !UnwindSafe for Dropdown<T>
Blanket Implementations
Mutably borrows from an owned value. Read more