pub enum MessageButtons {
AbortTryIgnore,
CancelTryContinue,
Ok,
OkCancel,
RetryCancel,
YesNo,
YesNoCancel,
}
Expand description
Enum of message box buttons (to use with MessageParams
)
Variants
AbortTryIgnore
CancelTryContinue
Ok
OkCancel
RetryCancel
YesNo
YesNoCancel
Trait Implementations
sourceimpl Clone for MessageButtons
impl Clone for MessageButtons
sourcefn clone(&self) -> MessageButtons
fn clone(&self) -> MessageButtons
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 MessageButtons
impl Debug for MessageButtons
sourceimpl PartialEq<MessageButtons> for MessageButtons
impl PartialEq<MessageButtons> for MessageButtons
sourcefn eq(&self, other: &MessageButtons) -> bool
fn eq(&self, other: &MessageButtons) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for MessageButtons
Auto Trait Implementations
impl RefUnwindSafe for MessageButtons
impl Send for MessageButtons
impl Sync for MessageButtons
impl Unpin for MessageButtons
impl UnwindSafe for MessageButtons
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