#[repr(u64)]pub enum NSApplicationActivationOptions {
AllWindows = 1,
IgnoringOtherWindows = 2,
}Expand description
The following flags are for activateWithOptions
Variants§
AllWindows = 1
By default, activation brings only the main and key windows forward. If you specify NSApplicationActivateAllWindows, all of the application’s windows are brought forward.
IgnoringOtherWindows = 2
The application is activated regardless of the currently active app.
Trait Implementations§
Source§impl Clone for NSApplicationActivationOptions
impl Clone for NSApplicationActivationOptions
Source§fn clone(&self) -> NSApplicationActivationOptions
fn clone(&self) -> NSApplicationActivationOptions
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 PartialEq for NSApplicationActivationOptions
impl PartialEq for NSApplicationActivationOptions
Source§fn eq(&self, other: &NSApplicationActivationOptions) -> bool
fn eq(&self, other: &NSApplicationActivationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NSApplicationActivationOptions
impl Eq for NSApplicationActivationOptions
impl StructuralPartialEq for NSApplicationActivationOptions
Auto Trait Implementations§
impl Freeze for NSApplicationActivationOptions
impl RefUnwindSafe for NSApplicationActivationOptions
impl Send for NSApplicationActivationOptions
impl Sync for NSApplicationActivationOptions
impl Unpin for NSApplicationActivationOptions
impl UnwindSafe for NSApplicationActivationOptions
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