pub struct DialogStyleConfig {
pub content: WidgetId,
pub has_scrim: bool,
pub padding_override: Option<f32>,
pub min_width_override: Option<f32>,
}Fields§
§content: WidgetIdPre-built DialogContent subtree the panel wraps.
has_scrim: boolWhether the modal is presented with a dimming scrim behind it.
ModalContainer is always modal today, so this is always
true; custom styles may branch on it.
padding_override: Option<f32>Caller override for the panel content padding — None means
“use the recipe default”. Custom styles may ignore it.
min_width_override: Option<f32>Caller override for the panel minimum width — None means
“use the recipe default”. Custom styles may ignore it.
Trait Implementations§
Source§impl Clone for DialogStyleConfig
impl Clone for DialogStyleConfig
Source§fn clone(&self) -> DialogStyleConfig
fn clone(&self) -> DialogStyleConfig
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 moreAuto Trait Implementations§
impl Freeze for DialogStyleConfig
impl RefUnwindSafe for DialogStyleConfig
impl Send for DialogStyleConfig
impl Sync for DialogStyleConfig
impl Unpin for DialogStyleConfig
impl UnsafeUnpin for DialogStyleConfig
impl UnwindSafe for DialogStyleConfig
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