pub enum MsgBoxResult {
Abort,
Cancel,
Continue,
Ignore,
No,
Ok,
Retry,
TryAgain,
Yes,
Ext(c_int),
}
Expand description
Result of user’s interaction with message box
Variants§
Abort
Abort button is selected
Cancel
Cancel button is selected
Continue
Continue button is selected
Ignore
Ignore button is selected
No
No button is selected
Ok
Ok button is selected
Retry
Retry button is selected
TryAgain
Try Again button is selected
Yes
Yes button is selected
Ext(c_int)
Unknown result code. Non zero
Trait Implementations§
Source§impl Debug for MsgBoxResult
impl Debug for MsgBoxResult
Source§impl From<i32> for MsgBoxResult
impl From<i32> for MsgBoxResult
Source§fn from(value: c_int) -> MsgBoxResult
fn from(value: c_int) -> MsgBoxResult
Converts to this type from the input type.
Source§impl PartialEq for MsgBoxResult
impl PartialEq for MsgBoxResult
impl Eq for MsgBoxResult
impl StructuralPartialEq for MsgBoxResult
Auto Trait Implementations§
impl Freeze for MsgBoxResult
impl RefUnwindSafe for MsgBoxResult
impl Send for MsgBoxResult
impl Sync for MsgBoxResult
impl Unpin for MsgBoxResult
impl UnwindSafe for MsgBoxResult
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