Enum cacao::filesystem::enums::ModalResponse
source · [−]pub enum ModalResponse {
Ok,
Continue,
Canceled,
Stopped,
Aborted,
FirstButtonReturned,
SecondButtonReturned,
ThirdButtonReturned,
}
Expand description
Represents a modal response for macOS modal dialogs.
Variants
Ok
The user hit the “Ok” button.
Continue
Continue.
Canceled
Canceled.
Stopped
Stopped.
Aborted
Aborted.
FirstButtonReturned
The first button in the dialog was clicked.
SecondButtonReturned
The second button in the dialog was clicked.
ThirdButtonReturned
The third button in the dialog was clicked.
Trait Implementations
sourceimpl Clone for ModalResponse
impl Clone for ModalResponse
sourcefn clone(&self) -> ModalResponse
fn clone(&self) -> ModalResponse
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 ModalResponse
impl Debug for ModalResponse
sourceimpl From<i64> for ModalResponse
impl From<i64> for ModalResponse
impl Copy for ModalResponse
Auto Trait Implementations
impl RefUnwindSafe for ModalResponse
impl Send for ModalResponse
impl Sync for ModalResponse
impl Unpin for ModalResponse
impl UnwindSafe for ModalResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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