pub struct DropdownSizing { /* private fields */ }Implementations§
Source§impl DropdownSizing
impl DropdownSizing
pub fn new() -> Self
pub fn field_font_size(self, value: f32) -> Self
pub fn option_font_size(self, value: f32) -> Self
pub fn field_height(self, value: f32) -> Self
pub fn option_height(self, value: f32) -> Self
pub fn chevron_box_size(self, value: f32) -> Self
pub fn chevron_icon_size(self, value: f32) -> Self
pub fn has_field_font_size(&self) -> bool
pub fn has_option_font_size(&self) -> bool
pub fn has_field_height(&self) -> bool
pub fn has_option_height(&self) -> bool
pub fn has_chevron_box_size(&self) -> bool
pub fn has_chevron_icon_size(&self) -> bool
pub fn field_font_size_px(&self) -> f32
pub fn option_font_size_px(&self) -> f32
pub fn field_height_px(&self) -> f32
pub fn option_height_px(&self) -> f32
pub fn chevron_box_size_px(&self) -> f32
pub fn chevron_icon_size_px(&self) -> f32
Trait Implementations§
Source§impl Clone for DropdownSizing
impl Clone for DropdownSizing
Source§fn clone(&self) -> DropdownSizing
fn clone(&self) -> DropdownSizing
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 moreimpl Copy for DropdownSizing
Source§impl Debug for DropdownSizing
impl Debug for DropdownSizing
Source§impl Default for DropdownSizing
impl Default for DropdownSizing
Source§fn default() -> DropdownSizing
fn default() -> DropdownSizing
Returns the “default value” for a type. Read more
Source§impl PartialEq for DropdownSizing
impl PartialEq for DropdownSizing
impl StructuralPartialEq for DropdownSizing
Auto Trait Implementations§
impl Freeze for DropdownSizing
impl RefUnwindSafe for DropdownSizing
impl Send for DropdownSizing
impl Sync for DropdownSizing
impl Unpin for DropdownSizing
impl UnsafeUnpin for DropdownSizing
impl UnwindSafe for DropdownSizing
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