pub struct AppleSdk {
    pub path: PathBuf,
    pub is_symlink: bool,
    pub platform_name: String,
    pub name: String,
    pub default_deployment_target: String,
    pub default_variant: Option<String>,
    pub display_name: String,
    pub maximum_deployment_target: String,
    pub minimal_display_name: String,
    pub supported_targets: HashMap<String, AppleSdkSupportedTarget>,
    pub version: String,
}
Expand description

Describes an Apple SDK on the filesystem.

Fields

path: PathBuf

Root directory of the SDK.

is_symlink: bool

Whether the root directory is a symlink to another path.

platform_name: String

The name of the platform

name: String

The canonical name of the SDK. e.g. macosx11.1.

default_deployment_target: String

Version of the default deployment target for this SDK.

default_variant: Option<String>

Name of default settings variant for this SDK.

display_name: String

Human friendly name of this SDK.

maximum_deployment_target: String

Maximum deployment target version this SDK supports.

minimal_display_name: String

Human friendly value for name (probably just version string).

supported_targets: HashMap<String, AppleSdkSupportedTarget>

Describes named target configurations this SDK supports.

version: String

Version of this SDK. e.g. 11.1.

Implementations

Attempt to resolve an SDK from a path to the SDK root directory.

Convert the version string to a semver::Version.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.