Enum finestra::DialogKind
source · pub enum DialogKind {
Normal,
Informational,
Warning,
Error,
}
Expand description
Specifies the kind of dialog that is shown. This helps accessibility by providing more context, and is used by Finestra to show a certain icon.
Variants§
Normal
A message box without a specific icon or accessibility information.
Informational
A message box that tells the user about an event that occurred, or shows them information about a specific action.
Warning
A message box that tells the user about a possible mistake the user or application made.
Error
A message box that tells the user about an (unrecoverable) error that the application encountered.
Trait Implementations§
source§impl Clone for DialogKind
impl Clone for DialogKind
source§fn clone(&self) -> DialogKind
fn clone(&self) -> DialogKind
Returns a copy 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 DialogKind
impl Debug for DialogKind
source§impl Default for DialogKind
impl Default for DialogKind
source§fn default() -> DialogKind
fn default() -> DialogKind
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DialogKind
impl Send for DialogKind
impl Sync for DialogKind
impl Unpin for DialogKind
impl UnwindSafe for DialogKind
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