Enum tauri_sys::dialog::MessageDialogKind
source · pub enum MessageDialogKind {
Info,
Warning,
Error,
}
Expand description
Types of message, ask and confirm dialogs.
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 Default for MessageDialogKind
impl Default for MessageDialogKind
source§fn default() -> MessageDialogKind
fn default() -> MessageDialogKind
Returns the “default value” for a type. Read more
source§impl Hash for MessageDialogKind
impl Hash for MessageDialogKind
source§impl Ord for MessageDialogKind
impl Ord for MessageDialogKind
source§fn cmp(&self, other: &MessageDialogKind) -> Ordering
fn cmp(&self, other: &MessageDialogKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MessageDialogKind
impl PartialEq 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 ==
.source§impl PartialOrd for MessageDialogKind
impl PartialOrd for MessageDialogKind
source§fn partial_cmp(&self, other: &MessageDialogKind) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageDialogKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MessageDialogKind
impl Serialize for MessageDialogKind
impl Copy for MessageDialogKind
impl Eq for MessageDialogKind
impl StructuralPartialEq for MessageDialogKind
Auto Trait Implementations§
impl Freeze for MessageDialogKind
impl RefUnwindSafe for MessageDialogKind
impl Send for MessageDialogKind
impl Sync for MessageDialogKind
impl Unpin for MessageDialogKind
impl UnwindSafe for MessageDialogKind
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)