pub struct ComboBoxTheme {
pub min_height: Option<f32>,
pub min_width: Option<f32>,
pub padding_horizontal: Option<f32>,
pub arrow_size: Option<f32>,
pub arrow_area_width: Option<f32>,
pub radius: Option<f32>,
}Expand description
ComboBox / dropdown trigger sizing.
Fields§
§min_height: Option<f32>Minimum trigger height in logical pixels.
min_width: Option<f32>Minimum trigger width in logical pixels.
padding_horizontal: Option<f32>Horizontal padding inside the trigger.
arrow_size: Option<f32>Dropdown arrow size in logical pixels.
arrow_area_width: Option<f32>Width of the arrow clickable area.
radius: Option<f32>Corner radius in logical pixels.
Implementations§
Source§impl ComboBoxTheme
impl ComboBoxTheme
Sourcepub const FIELD_NAMES: &[&str]
pub const FIELD_NAMES: &[&str]
All serialized field names for this widget theme, for TOML linting.
Source§impl ComboBoxTheme
impl ComboBoxTheme
Trait Implementations§
Source§impl Clone for ComboBoxTheme
impl Clone for ComboBoxTheme
Source§fn clone(&self) -> ComboBoxTheme
fn clone(&self) -> ComboBoxTheme
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 ComboBoxTheme
impl Debug for ComboBoxTheme
Source§impl Default for ComboBoxTheme
impl Default for ComboBoxTheme
Source§fn default() -> ComboBoxTheme
fn default() -> ComboBoxTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComboBoxThemewhere
ComboBoxTheme: Default,
impl<'de> Deserialize<'de> for ComboBoxThemewhere
ComboBoxTheme: Default,
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 ComboBoxTheme
impl PartialEq for ComboBoxTheme
Source§impl Serialize for ComboBoxTheme
impl Serialize for ComboBoxTheme
impl StructuralPartialEq for ComboBoxTheme
Auto Trait Implementations§
impl Freeze for ComboBoxTheme
impl RefUnwindSafe for ComboBoxTheme
impl Send for ComboBoxTheme
impl Sync for ComboBoxTheme
impl Unpin for ComboBoxTheme
impl UnsafeUnpin for ComboBoxTheme
impl UnwindSafe for ComboBoxTheme
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