[][src]Struct creator_tools::types::Launch

pub struct Launch {
    pub principal_class: Option<String>,
    pub complication_principal_class: Option<Vec<String>>,
    pub bundle_executable: Option<String>,
    pub environment: Option<Vec<String>>,
    pub application_shortcut_items: Option<Vec<ApplicationShortcutItem>>,
}

Launch.

Fields

principal_class: Option<String>

The name of the bundle’s main executable class.

The system uses the class identified by this key to set the principalClass property of a bundle when it’s loaded.

Xcode sets the default value of this key to NSApplication for macOS apps, and to UIApplication for iOS and tvOS apps. For other types of bundles, you must set this key in The Info.plist File.

complication_principal_class: Option<Vec<String>>

The name of the class that implements the complication data source protocol.

Xcode automatically includes this key in the information property list when you modify the WatchKit extension’s data source (General > Complication Configuration > Data Source class).

bundle_executable: Option<String>

The name of the bundle’s executable file.

For an app, this key is the executable. For a loadable bundle, it's the binary that's loaded dynamically by the bundle. For a framework, it's the shared library framework and must have the same name as the framework but without the .framework extension.

macOS uses this key to locate the bundle’s executable or shared library in cases where the user renames the app or bundle directory.

environment: Option<Vec<String>>

Environment variables to set before launching the app.

application_shortcut_items: Option<Vec<ApplicationShortcutItem>>

Application shortcut items.

Trait Implementations

impl Clone for Launch[src]

impl Debug for Launch[src]

impl Default for Launch[src]

impl<'de> Deserialize<'de> for Launch[src]

impl PartialEq<Launch> for Launch[src]

impl Serialize for Launch[src]

impl StructuralPartialEq for Launch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.