pub struct DialogBuilder { /* private fields */ }Expand description
Builder for custom dialogs.
Implementations§
Source§impl DialogBuilder
impl DialogBuilder
Add a button.
Add an OK button.
Add a Cancel button.
Add a custom button.
Sourcepub fn modal_config(self, config: ModalConfig) -> Self
pub fn modal_config(self, config: ModalConfig) -> Self
Set modal configuration.
Trait Implementations§
Source§impl Clone for DialogBuilder
impl Clone for DialogBuilder
Source§fn clone(&self) -> DialogBuilder
fn clone(&self) -> DialogBuilder
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 moreAuto Trait Implementations§
impl Freeze for DialogBuilder
impl RefUnwindSafe for DialogBuilder
impl Send for DialogBuilder
impl Sync for DialogBuilder
impl Unpin for DialogBuilder
impl UnsafeUnpin for DialogBuilder
impl UnwindSafe for DialogBuilder
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