pub struct ComboBoxOptions {
pub flags: ComboBoxFlags,
pub height: Option<ComboBoxHeight>,
pub preview_mode: ComboBoxPreviewMode,
}Expand description
Complete combo box options assembled from independent flags and exclusive mode selections.
Fields§
§flags: ComboBoxFlags§height: Option<ComboBoxHeight>§preview_mode: ComboBoxPreviewModeImplementations§
Source§impl ComboBoxOptions
impl ComboBoxOptions
pub const fn new() -> Self
pub fn flags(self, flags: ComboBoxFlags) -> Self
pub fn height(self, height: ComboBoxHeight) -> Self
pub fn preview_mode(self, mode: ComboBoxPreviewMode) -> Self
pub fn bits(self) -> i32
Trait Implementations§
Source§impl Clone for ComboBoxOptions
impl Clone for ComboBoxOptions
Source§fn clone(&self) -> ComboBoxOptions
fn clone(&self) -> ComboBoxOptions
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 moreSource§impl Debug for ComboBoxOptions
impl Debug for ComboBoxOptions
Source§impl Default for ComboBoxOptions
impl Default for ComboBoxOptions
Source§impl From<ComboBoxFlags> for ComboBoxOptions
impl From<ComboBoxFlags> for ComboBoxOptions
Source§fn from(flags: ComboBoxFlags) -> Self
fn from(flags: ComboBoxFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for ComboBoxOptions
impl Hash for ComboBoxOptions
Source§impl PartialEq for ComboBoxOptions
impl PartialEq for ComboBoxOptions
Source§fn eq(&self, other: &ComboBoxOptions) -> bool
fn eq(&self, other: &ComboBoxOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ComboBoxOptions
impl Eq for ComboBoxOptions
impl StructuralPartialEq for ComboBoxOptions
Auto Trait Implementations§
impl Freeze for ComboBoxOptions
impl RefUnwindSafe for ComboBoxOptions
impl Send for ComboBoxOptions
impl Sync for ComboBoxOptions
impl Unpin for ComboBoxOptions
impl UnsafeUnpin for ComboBoxOptions
impl UnwindSafe for ComboBoxOptions
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