pub enum ComboBoxPreviewMode {
Label,
ArrowButton,
Full,
}
Expand description
Combo box preview mode.
Variants§
Label
Show only a box with the preview value
ArrowButton
Show only an arrow button
Full
Show a box with the preview value and an arrow button
Trait Implementations§
source§impl Clone for ComboBoxPreviewMode
impl Clone for ComboBoxPreviewMode
source§fn clone(&self) -> ComboBoxPreviewMode
fn clone(&self) -> ComboBoxPreviewMode
Returns a copy 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 ComboBoxPreviewMode
impl Debug for ComboBoxPreviewMode
source§impl PartialEq for ComboBoxPreviewMode
impl PartialEq for ComboBoxPreviewMode
source§fn eq(&self, other: &ComboBoxPreviewMode) -> bool
fn eq(&self, other: &ComboBoxPreviewMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ComboBoxPreviewMode
impl Eq for ComboBoxPreviewMode
impl StructuralPartialEq for ComboBoxPreviewMode
Auto Trait Implementations§
impl Freeze for ComboBoxPreviewMode
impl RefUnwindSafe for ComboBoxPreviewMode
impl Send for ComboBoxPreviewMode
impl Sync for ComboBoxPreviewMode
impl Unpin for ComboBoxPreviewMode
impl UnwindSafe for ComboBoxPreviewMode
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