Enum cacao::appkit::AppDelegateResponse
source · [−]pub enum AppDelegateResponse {
Cancelled,
Success,
Failure,
}
Available on crate feature
appkit
only.Expand description
Used for responding to open/print/copy requests.
You only really need this for calling App::reply_to_open_or_print()
.
The name is unfortunate, but it covers a variety of things, and by keeping it closer to the
NSApplication
documentation it may help some poor soul who needs to find information about
it.
Variants
Cancelled
Cancelled.
Success
Success.
Failure
Failed.
Trait Implementations
sourceimpl Clone for AppDelegateResponse
impl Clone for AppDelegateResponse
sourcefn clone(&self) -> AppDelegateResponse
fn clone(&self) -> AppDelegateResponse
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 AppDelegateResponse
impl Debug for AppDelegateResponse
sourceimpl From<AppDelegateResponse> for NSUInteger
impl From<AppDelegateResponse> for NSUInteger
sourcefn from(response: AppDelegateResponse) -> Self
fn from(response: AppDelegateResponse) -> Self
Converts to this type from the input type.
impl Copy for AppDelegateResponse
Auto Trait Implementations
impl RefUnwindSafe for AppDelegateResponse
impl Send for AppDelegateResponse
impl Sync for AppDelegateResponse
impl Unpin for AppDelegateResponse
impl UnwindSafe for AppDelegateResponse
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