pub struct ComboBoxAttributes {
pub options: Vec<String>,
pub selected: Option<BindingExpr>,
pub placeholder: Option<String>,
pub on_select: Option<String>,
}Expand description
Attribute structures for advanced widgets
Fields§
§options: Vec<String>§selected: Option<BindingExpr>§placeholder: Option<String>§on_select: Option<String>Trait Implementations§
Source§impl Clone for ComboBoxAttributes
impl Clone for ComboBoxAttributes
Source§fn clone(&self) -> ComboBoxAttributes
fn clone(&self) -> ComboBoxAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComboBoxAttributes
impl Debug for ComboBoxAttributes
Source§impl<'de> Deserialize<'de> for ComboBoxAttributes
impl<'de> Deserialize<'de> for ComboBoxAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ComboBoxAttributes
impl PartialEq for ComboBoxAttributes
Source§impl Serialize for ComboBoxAttributes
impl Serialize for ComboBoxAttributes
impl StructuralPartialEq for ComboBoxAttributes
Auto Trait Implementations§
impl Freeze for ComboBoxAttributes
impl RefUnwindSafe for ComboBoxAttributes
impl Send for ComboBoxAttributes
impl Sync for ComboBoxAttributes
impl Unpin for ComboBoxAttributes
impl UnwindSafe for ComboBoxAttributes
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