Struct objc2_app_kit::NSWorkspaceLaunchOptions
source · #[repr(transparent)]pub struct NSWorkspaceLaunchOptions(pub NSUInteger);
Available on crate feature
NSWorkspace
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSWorkspaceLaunchOptions
impl NSWorkspaceLaunchOptions
pub const NSWorkspaceLaunchAndPrint: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setForPrinting:YES] instead.
pub const NSWorkspaceLaunchWithErrorPresentation: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setPromptsUserIfNeeded:YES] instead.
pub const NSWorkspaceLaunchInhibitingBackgroundOnly: Self = _
👎Deprecated: This option does nothing.
pub const NSWorkspaceLaunchWithoutAddingToRecents: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setAddsToRecentItems:YES] instead.
pub const NSWorkspaceLaunchWithoutActivation: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setActivates:NO] instead.
pub const NSWorkspaceLaunchAsync: Self = _
👎Deprecated: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
pub const NSWorkspaceLaunchNewInstance: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setCreatesNewApplicationInstance:YES] instead.
pub const NSWorkspaceLaunchAndHide: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setHides:YES] instead.
pub const NSWorkspaceLaunchAndHideOthers: Self = _
👎Deprecated: Use -[NSWorkspaceOpenConfiguration setHidesOthers:YES] instead.
pub const NSWorkspaceLaunchDefault: Self = _
👎Deprecated: Use NSWorkspaceOpenConfiguration instead.
pub const NSWorkspaceLaunchAllowingClassicStartup: Self = _
👎Deprecated: The Classic environment is no longer supported.
pub const NSWorkspaceLaunchPreferringClassic: Self = _
👎Deprecated: The Classic environment is no longer supported.
Trait Implementations§
source§impl Clone for NSWorkspaceLaunchOptions
impl Clone for NSWorkspaceLaunchOptions
source§fn clone(&self) -> NSWorkspaceLaunchOptions
fn clone(&self) -> NSWorkspaceLaunchOptions
Returns a copy 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 Debug for NSWorkspaceLaunchOptions
impl Debug for NSWorkspaceLaunchOptions
source§impl Encode for NSWorkspaceLaunchOptions
impl Encode for NSWorkspaceLaunchOptions
source§impl Hash for NSWorkspaceLaunchOptions
impl Hash for NSWorkspaceLaunchOptions
source§impl Ord for NSWorkspaceLaunchOptions
impl Ord for NSWorkspaceLaunchOptions
source§fn cmp(&self, other: &NSWorkspaceLaunchOptions) -> Ordering
fn cmp(&self, other: &NSWorkspaceLaunchOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSWorkspaceLaunchOptions
impl PartialEq for NSWorkspaceLaunchOptions
source§fn eq(&self, other: &NSWorkspaceLaunchOptions) -> bool
fn eq(&self, other: &NSWorkspaceLaunchOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSWorkspaceLaunchOptions
impl PartialOrd for NSWorkspaceLaunchOptions
source§fn partial_cmp(&self, other: &NSWorkspaceLaunchOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &NSWorkspaceLaunchOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSWorkspaceLaunchOptions
impl RefEncode for NSWorkspaceLaunchOptions
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSWorkspaceLaunchOptions
impl Eq for NSWorkspaceLaunchOptions
impl StructuralPartialEq for NSWorkspaceLaunchOptions
Auto Trait Implementations§
impl Freeze for NSWorkspaceLaunchOptions
impl RefUnwindSafe for NSWorkspaceLaunchOptions
impl Send for NSWorkspaceLaunchOptions
impl Sync for NSWorkspaceLaunchOptions
impl Unpin for NSWorkspaceLaunchOptions
impl UnwindSafe for NSWorkspaceLaunchOptions
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.