pub struct DropdownMenuConfig {Show 13 fields
pub modifier: Modifier,
pub container_color: Color,
pub item_text_color: Color,
pub disabled_item_text_color: Color,
pub divider_color: Color,
pub min_width: f32,
pub item_height: f32,
pub shadow_elevation: Option<f32>,
pub tonal_elevation: f32,
pub border: Option<(f32, Color, f32)>,
pub shape_radius: Option<f32>,
pub offset_x: f32,
pub offset_y: f32,
}Expand description
Configuration for DropdownMenu.
Fields§
§modifier: Modifier§container_color: Color§item_text_color: Color§disabled_item_text_color: Color§divider_color: Color§min_width: f32§item_height: f32§shadow_elevation: Option<f32>§tonal_elevation: f32§border: Option<(f32, Color, f32)>§shape_radius: Option<f32>§offset_x: f32§offset_y: f32Trait Implementations§
Source§impl Clone for DropdownMenuConfig
impl Clone for DropdownMenuConfig
Source§fn clone(&self) -> DropdownMenuConfig
fn clone(&self) -> DropdownMenuConfig
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 DropdownMenuConfig
impl Debug for DropdownMenuConfig
Auto Trait Implementations§
impl !RefUnwindSafe for DropdownMenuConfig
impl !Send for DropdownMenuConfig
impl !Sync for DropdownMenuConfig
impl !UnwindSafe for DropdownMenuConfig
impl Freeze for DropdownMenuConfig
impl Unpin for DropdownMenuConfig
impl UnsafeUnpin for DropdownMenuConfig
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