#[non_exhaustive]
pub enum MessageDialogKind {
Info,
Warning,
Error,
}
Available on crate feature
dialog
only.Expand description
Types of message, ask and confirm dialogs.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Info
Information dialog.
Warning
Warning dialog.
Error
Error dialog.
Trait Implementations
sourceimpl Clone for MessageDialogKind
impl Clone for MessageDialogKind
sourcefn clone(&self) -> MessageDialogKind
fn clone(&self) -> MessageDialogKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MessageDialogKind
impl Debug for MessageDialogKind
sourceimpl From<MessageDialogKind> for MessageLevel
impl From<MessageDialogKind> for MessageLevel
sourcefn from(kind: MessageDialogKind) -> Self
fn from(kind: MessageDialogKind) -> Self
Converts to this type from the input type.
sourceimpl Hash for MessageDialogKind
impl Hash for MessageDialogKind
impl Copy for MessageDialogKind
impl Eq for MessageDialogKind
impl StructuralEq for MessageDialogKind
impl StructuralPartialEq for MessageDialogKind
Auto Trait Implementations
impl RefUnwindSafe for MessageDialogKind
impl Send for MessageDialogKind
impl Sync for MessageDialogKind
impl Unpin for MessageDialogKind
impl UnwindSafe for MessageDialogKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.