pub struct DialogConfig {
pub modal_config: ModalConfig,
pub kind: DialogKind,
pub button_style: Style,
pub primary_button_style: Style,
pub focused_button_style: Style,
pub title_style: Style,
pub message_style: Style,
pub input_style: Style,
}Expand description
Dialog configuration.
Fields§
§modal_config: ModalConfigModal configuration.
kind: DialogKindDialog kind.
Button style.
Primary button style.
Focused button style.
title_style: StyleTitle style.
message_style: StyleMessage style.
input_style: StyleInput style (for Prompt).
Trait Implementations§
Source§impl Clone for DialogConfig
impl Clone for DialogConfig
Source§fn clone(&self) -> DialogConfig
fn clone(&self) -> DialogConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DialogConfig
impl Debug for DialogConfig
Auto Trait Implementations§
impl Freeze for DialogConfig
impl RefUnwindSafe for DialogConfig
impl Send for DialogConfig
impl Sync for DialogConfig
impl Unpin for DialogConfig
impl UnwindSafe for DialogConfig
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