pub struct DefaultDropdownTheme;Expand description
Default dropdown theme for prototyping and external projects.
Trait Implementations§
Source§impl Clone for DefaultDropdownTheme
impl Clone for DefaultDropdownTheme
Source§fn clone(&self) -> DefaultDropdownTheme
fn clone(&self) -> DefaultDropdownTheme
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 DefaultDropdownTheme
impl Debug for DefaultDropdownTheme
Source§impl Default for DefaultDropdownTheme
impl Default for DefaultDropdownTheme
Source§fn default() -> DefaultDropdownTheme
fn default() -> DefaultDropdownTheme
Returns the “default value” for a type. Read more
Source§impl DropdownTheme for DefaultDropdownTheme
impl DropdownTheme for DefaultDropdownTheme
fn dropdown_height(&self) -> f64
fn arrow_icon_size(&self) -> f64
fn popup_padding(&self) -> f64
fn item_height(&self) -> f64
fn grid_item_size(&self) -> f64
fn background_color(&self) -> [u8; 4]
fn background_hover_color(&self) -> [u8; 4]
fn popup_background_color(&self) -> [u8; 4]
fn border_color(&self) -> [u8; 4]
fn border_hover_color(&self) -> [u8; 4]
fn border_focus_color(&self) -> [u8; 4]
fn selected_item_color(&self) -> [u8; 4]
fn hover_item_color(&self) -> [u8; 4]
fn text_color(&self) -> [u8; 4]
fn text_selected_color(&self) -> [u8; 4]
fn text_disabled_color(&self) -> [u8; 4]
fn arrow_color(&self) -> [u8; 4]
fn arrow_hover_color(&self) -> [u8; 4]
impl Copy for DefaultDropdownTheme
Auto Trait Implementations§
impl Freeze for DefaultDropdownTheme
impl RefUnwindSafe for DefaultDropdownTheme
impl Send for DefaultDropdownTheme
impl Sync for DefaultDropdownTheme
impl Unpin for DefaultDropdownTheme
impl UnsafeUnpin for DefaultDropdownTheme
impl UnwindSafe for DefaultDropdownTheme
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