Enum win_msgbox::OkayCancel
source · pub enum OkayCancel {
Okay,
Cancel,
}Expand description
The message box contains two push buttons: OK and Cancel.
Variants§
Trait Implementations§
source§impl Clone for OkayCancel
impl Clone for OkayCancel
source§fn clone(&self) -> OkayCancel
fn clone(&self) -> OkayCancel
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 OkayCancel
impl Debug for OkayCancel
source§impl From<i32> for OkayCancel
impl From<i32> for OkayCancel
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 OkayCancel
impl Hash for OkayCancel
source§impl Options for OkayCancel
impl Options for OkayCancel
source§fn flags() -> MESSAGEBOX_STYLE
fn flags() -> MESSAGEBOX_STYLE
The flags this option requires to be shown.
source§impl PartialEq<OkayCancel> for OkayCancel
impl PartialEq<OkayCancel> for OkayCancel
source§fn eq(&self, other: &OkayCancel) -> bool
fn eq(&self, other: &OkayCancel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.