pub struct ComboBox {
pub name: String,
pub options: Vec<(String, String)>,
pub value: Option<String>,
pub editable: bool,
}Expand description
Combo box field
Fields§
§name: StringField name
options: Vec<(String, String)>Options (export value, display text)
value: Option<String>Current value
editable: boolWhether custom text entry is allowed
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComboBox
impl RefUnwindSafe for ComboBox
impl Send for ComboBox
impl Sync for ComboBox
impl Unpin for ComboBox
impl UnwindSafe for ComboBox
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more