#[repr(u64)]pub enum NSApplicationTerminateReply {
Cancel = 0,
Now = 1,
Later = 2,
}
Expand description
Constants that determine whether an app should terminate.
Variants§
Cancel = 0
The app should not be terminated.
Now = 1
It is OK to proceed with termination.
Later = 2
The app should be terminated, but the user should be asked first.
Trait Implementations§
Source§impl Clone for NSApplicationTerminateReply
impl Clone for NSApplicationTerminateReply
Source§fn clone(&self) -> NSApplicationTerminateReply
fn clone(&self) -> NSApplicationTerminateReply
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSApplicationTerminateReply
impl Debug for NSApplicationTerminateReply
Source§impl Encode for NSApplicationTerminateReply
impl Encode for NSApplicationTerminateReply
impl Copy for NSApplicationTerminateReply
impl Eq for NSApplicationTerminateReply
impl StructuralPartialEq for NSApplicationTerminateReply
Auto Trait Implementations§
impl Freeze for NSApplicationTerminateReply
impl RefUnwindSafe for NSApplicationTerminateReply
impl Send for NSApplicationTerminateReply
impl Sync for NSApplicationTerminateReply
impl Unpin for NSApplicationTerminateReply
impl UnwindSafe for NSApplicationTerminateReply
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