Enum native_windows_gui::MessageChoice
source · [−]pub enum MessageChoice {
Abort,
Cancel,
Continue,
Ignore,
No,
Ok,
Retry,
TryAgain,
Yes,
}
Expand description
Return value of message
. Define the button that the user clicked. If the user
cancelled the message box by clicking on X button of the window, MessageChoice::Cancel
is returned.
Variants
Abort
Cancel
Continue
Ignore
No
Ok
Retry
TryAgain
Yes
Trait Implementations
sourceimpl Clone for MessageChoice
impl Clone for MessageChoice
sourcefn clone(&self) -> MessageChoice
fn clone(&self) -> MessageChoice
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 MessageChoice
impl Debug for MessageChoice
sourceimpl PartialEq<MessageChoice> for MessageChoice
impl PartialEq<MessageChoice> for MessageChoice
sourcefn eq(&self, other: &MessageChoice) -> bool
fn eq(&self, other: &MessageChoice) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for MessageChoice
Auto Trait Implementations
impl RefUnwindSafe for MessageChoice
impl Send for MessageChoice
impl Sync for MessageChoice
impl Unpin for MessageChoice
impl UnwindSafe for MessageChoice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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