pub struct DropdownMenuDefaults;Expand description
Default values for dropdown menu.
Implementations§
Source§impl DropdownMenuDefaults
impl DropdownMenuDefaults
pub const MIN_WIDTH: f32 = 112.0
pub const ITEM_HEIGHT: f32 = 48.0
pub const VERTICAL_MARGIN: f32 = 48.0
pub const HORIZONTAL_MARGIN: f32 = 8.0
pub const MAX_WIDTH: f32 = 280.0
pub fn container_color() -> Color
pub fn item_text_color() -> Color
pub fn disabled_item_text_color() -> Color
pub fn divider_color() -> Color
Auto Trait Implementations§
impl Freeze for DropdownMenuDefaults
impl RefUnwindSafe for DropdownMenuDefaults
impl Send for DropdownMenuDefaults
impl Sync for DropdownMenuDefaults
impl Unpin for DropdownMenuDefaults
impl UnsafeUnpin for DropdownMenuDefaults
impl UnwindSafe for DropdownMenuDefaults
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