pub enum Buttons {
OK,
OKCancel,
YesNo,
Quit,
}Expand description
The buttons to present to the user.
Variants§
OK
A typical dialog with just an “OK” button.
OKCancel
A typical dialog with “OK” or “Cancel” buttons.
YesNo
A question dialog box with “Yes” or “No” buttons.
Quit
A dialog that only offers a “quit” button
Auto Trait Implementations§
impl Freeze for Buttons
impl RefUnwindSafe for Buttons
impl Send for Buttons
impl Sync for Buttons
impl Unpin for Buttons
impl UnwindSafe for Buttons
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