pub struct AlertDialogConfig {
pub modifier: Modifier,
pub scrim_color: Color,
pub min_width: f32,
pub max_width: f32,
pub horizontal_padding: f32,
pub shape_radius: Option<f32>,
pub container_color: Color,
pub tonal_elevation: f32,
}Expand description
Configuration for alert dialog.
Fields§
§modifier: Modifier§scrim_color: Color§min_width: f32§max_width: f32§horizontal_padding: f32§shape_radius: Option<f32>§container_color: Color§tonal_elevation: f32Trait Implementations§
Source§impl Clone for AlertDialogConfig
impl Clone for AlertDialogConfig
Source§fn clone(&self) -> AlertDialogConfig
fn clone(&self) -> AlertDialogConfig
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 AlertDialogConfig
impl Debug for AlertDialogConfig
Auto Trait Implementations§
impl !RefUnwindSafe for AlertDialogConfig
impl !Send for AlertDialogConfig
impl !Sync for AlertDialogConfig
impl !UnwindSafe for AlertDialogConfig
impl Freeze for AlertDialogConfig
impl Unpin for AlertDialogConfig
impl UnsafeUnpin for AlertDialogConfig
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