Struct apple_sdk::SimpleSdk

source ·
pub struct SimpleSdk { /* private fields */ }
Expand description

A directory purported to hold an Apple SDK.

Implementations§

Attempt to convert into an AppleSdk by parsing an SDKSettings.* file.

Trait Implementations§

Attempt to construct an instance from a filesystem directory. Read more
Whether this SDK path is a symlink.
The platform this SDK is for.
Obtain the version string for this SDK. Read more
Whether this SDK supports targeting the given target name at specified OS version.
Find Apple SDKs in a specified directory. Read more
Locate SDKs installed as part of the Xcode Command Line Tools. Read more
Obtain an SdkPath represent this SDK.
👎Deprecated since 0.1.1: plase use sdk_path instead
Obtain the filesystem path to this SDK.
Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The type returned in the event of a conversion error.
Performs the conversion.

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
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.