Enum win_msgbox::YesNoCancel
source · pub enum YesNoCancel {
Yes,
No,
Cancel,
}Expand description
The message box contains three push buttons: Yes, No, and Cancel.
Variants§
Yes
The Yes button was selected.
No
The No button was selected.
Cancel
The Cancel button was selected.
Trait Implementations§
source§impl Clone for YesNoCancel
impl Clone for YesNoCancel
source§fn clone(&self) -> YesNoCancel
fn clone(&self) -> YesNoCancel
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 YesNoCancel
impl Debug for YesNoCancel
source§impl From<i32> for YesNoCancel
impl From<i32> for YesNoCancel
source§fn from(value: MESSAGEBOX_RESULT) -> Self
fn from(value: MESSAGEBOX_RESULT) -> Self
Converts to this type from the input type.
source§impl Hash for YesNoCancel
impl Hash for YesNoCancel
source§impl Options for YesNoCancel
impl Options for YesNoCancel
source§fn flags() -> MESSAGEBOX_STYLE
fn flags() -> MESSAGEBOX_STYLE
The flags this option requires to be shown.
source§impl PartialEq<YesNoCancel> for YesNoCancel
impl PartialEq<YesNoCancel> for YesNoCancel
source§fn eq(&self, other: &YesNoCancel) -> bool
fn eq(&self, other: &YesNoCancel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.