Enum tauri::api::dialog::MessageDialogKind
source · #[non_exhaustive]
pub enum MessageDialogKind {
Info,
Warning,
Error,
}
Available on
desktop
and 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.
Trait Implementations§
source§impl Clone for MessageDialogKind
impl Clone for MessageDialogKind
source§fn clone(&self) -> MessageDialogKind
fn clone(&self) -> MessageDialogKind
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 MessageDialogKind
impl Debug for MessageDialogKind
source§impl From<MessageDialogKind> for MessageLevel
impl From<MessageDialogKind> for MessageLevel
source§fn from(kind: MessageDialogKind) -> Self
fn from(kind: MessageDialogKind) -> Self
Converts to this type from the input type.
source§impl Hash for MessageDialogKind
impl Hash for MessageDialogKind
source§impl PartialEq<MessageDialogKind> for MessageDialogKind
impl PartialEq<MessageDialogKind> for MessageDialogKind
source§fn eq(&self, other: &MessageDialogKind) -> bool
fn eq(&self, other: &MessageDialogKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.