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§
Trait Implementations§
Source§impl Clone for MessageChoice
impl Clone for MessageChoice
Source§fn clone(&self) -> MessageChoice
fn clone(&self) -> MessageChoice
Returns a duplicate 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 MessageChoice
impl Debug for MessageChoice
Source§impl PartialEq for MessageChoice
impl PartialEq for MessageChoice
impl StructuralPartialEq for MessageChoice
Auto Trait Implementations§
impl Freeze for MessageChoice
impl RefUnwindSafe for MessageChoice
impl Send for MessageChoice
impl Sync for MessageChoice
impl Unpin for MessageChoice
impl UnwindSafe for MessageChoice
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