pub enum DialogType {
Simple,
Warning,
Error,
}
Expand description
An enumeration of the different types of dialogs that can be created.
This enum is used to specify the type of dialog to be created when calling the appropriate dialog creation functions. The different variants represent different types of dialogs that can be used to communicate with the user.
Variants§
Simple
A simple dialog box with no specific type.
Warning
A warning dialog box, indicating that the user should be cautious or take extra care when performing the action.
Error
An error dialog box, indicating that an error has occurred and the user should take some action to resolve it.
Trait Implementations§
Source§impl Clone for DialogType
impl Clone for DialogType
Source§fn clone(&self) -> DialogType
fn clone(&self) -> DialogType
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 DialogType
impl Debug for DialogType
Source§impl PartialEq for DialogType
impl PartialEq for DialogType
impl Copy for DialogType
impl Eq for DialogType
impl StructuralPartialEq for DialogType
Auto Trait Implementations§
impl Freeze for DialogType
impl RefUnwindSafe for DialogType
impl Send for DialogType
impl Sync for DialogType
impl Unpin for DialogType
impl UnwindSafe for DialogType
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