pub enum MessageButtons {
Ok,
OkCancel,
YesNo,
YesNoCancel,
}Expand description
Button configurations for message dialogs.
Variants§
Ok
OK button only.
OkCancel
OK and Cancel buttons.
YesNo
Yes and No buttons.
YesNoCancel
Yes, No, and Cancel buttons.
Trait Implementations§
Source§impl Clone for MessageButtons
impl Clone for MessageButtons
Source§fn clone(&self) -> MessageButtons
fn clone(&self) -> MessageButtons
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 MessageButtons
impl Debug for MessageButtons
Source§impl PartialEq for MessageButtons
impl PartialEq for MessageButtons
impl Copy for MessageButtons
impl Eq for MessageButtons
impl StructuralPartialEq for MessageButtons
Auto Trait Implementations§
impl Freeze for MessageButtons
impl RefUnwindSafe for MessageButtons
impl Send for MessageButtons
impl Sync for MessageButtons
impl Unpin for MessageButtons
impl UnsafeUnpin for MessageButtons
impl UnwindSafe for MessageButtons
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