pub enum ComboBoxVariant {
Outlined,
Filled,
Underline,
Plain,
}Expand description
Tier-1 design-language variant for a combo box trigger. Mirrors the
TextInputVariant shape because both controls live in the same
“form-field” visual family — apps that ship a Material 3 theme
typically want filled triggers for both, etc.
Variants§
Outlined
IntUI default: 1 dp bordered rectangle with a vertical divider before the chevron.
Filled
Filled background, no border (Material 3 dropdown style).
Underline
Just a baseline underline under the trigger.
Plain
No chrome at all — for embedded combo boxes where the parent surface IS the chrome (table cells, inline pickers).
Trait Implementations§
Source§impl Clone for ComboBoxVariant
impl Clone for ComboBoxVariant
Source§fn clone(&self) -> ComboBoxVariant
fn clone(&self) -> ComboBoxVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComboBoxVariant
Source§impl Debug for ComboBoxVariant
impl Debug for ComboBoxVariant
Source§impl Default for ComboBoxVariant
impl Default for ComboBoxVariant
Source§fn default() -> ComboBoxVariant
fn default() -> ComboBoxVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComboBoxVariant
impl<'de> Deserialize<'de> for ComboBoxVariant
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
impl Eq for ComboBoxVariant
Source§impl Hash for ComboBoxVariant
impl Hash for ComboBoxVariant
Source§impl PartialEq for ComboBoxVariant
impl PartialEq for ComboBoxVariant
Source§impl Serialize for ComboBoxVariant
impl Serialize for ComboBoxVariant
impl StructuralPartialEq for ComboBoxVariant
Auto Trait Implementations§
impl Freeze for ComboBoxVariant
impl RefUnwindSafe for ComboBoxVariant
impl Send for ComboBoxVariant
impl Sync for ComboBoxVariant
impl Unpin for ComboBoxVariant
impl UnsafeUnpin for ComboBoxVariant
impl UnwindSafe for ComboBoxVariant
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