#[non_exhaustive]pub struct ResolvedComboBoxTheme {
pub background_color: Rgba,
pub min_height: f32,
pub min_width: f32,
pub arrow_icon_size: f32,
pub arrow_area_width: f32,
pub disabled_opacity: f32,
pub disabled_text_color: Rgba,
pub hover_background: Option<Rgba>,
pub disabled_background: Option<Rgba>,
pub font: ResolvedFontSpec,
pub border: ResolvedBorderSpec,
}Expand description
ComboBox / dropdown trigger sizing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.background_color: RgbaComboBox background color.
min_height: f32Minimum trigger height in logical pixels.
min_width: f32Minimum trigger width in logical pixels.
arrow_icon_size: f32Dropdown arrow size in logical pixels.
arrow_area_width: f32Width of the arrow clickable area.
disabled_opacity: f32Opacity multiplier when disabled (0.0-1.0).
disabled_text_color: RgbaComboBox text color when disabled.
hover_background: Option<Rgba>ComboBox background on hover.
disabled_background: Option<Rgba>ComboBox background when disabled.
font: ResolvedFontSpecComboBox font specification.
border: ResolvedBorderSpecComboBox border specification.
Trait Implementations§
Source§impl Clone for ResolvedComboBoxTheme
impl Clone for ResolvedComboBoxTheme
Source§fn clone(&self) -> ResolvedComboBoxTheme
fn clone(&self) -> ResolvedComboBoxTheme
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 ResolvedComboBoxTheme
impl Debug for ResolvedComboBoxTheme
Source§impl<'de> Deserialize<'de> for ResolvedComboBoxTheme
impl<'de> Deserialize<'de> for ResolvedComboBoxTheme
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 ResolvedComboBoxTheme
impl PartialEq for ResolvedComboBoxTheme
Source§impl Serialize for ResolvedComboBoxTheme
impl Serialize for ResolvedComboBoxTheme
impl StructuralPartialEq for ResolvedComboBoxTheme
Auto Trait Implementations§
impl Freeze for ResolvedComboBoxTheme
impl RefUnwindSafe for ResolvedComboBoxTheme
impl Send for ResolvedComboBoxTheme
impl Sync for ResolvedComboBoxTheme
impl Unpin for ResolvedComboBoxTheme
impl UnsafeUnpin for ResolvedComboBoxTheme
impl UnwindSafe for ResolvedComboBoxTheme
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