pub struct SimpleSdk { /* private fields */ }Expand description
A directory purported to hold an Apple SDK.
Implementations§
Trait Implementations§
source§impl AppleSdk for SimpleSdk
impl AppleSdk for SimpleSdk
source§fn from_directory(path: &Path) -> Result<Self, Error>
fn from_directory(path: &Path) -> Result<Self, Error>
Attempt to construct an instance from a filesystem directory. Read more
source§fn is_symlink(&self) -> bool
fn is_symlink(&self) -> bool
Whether this SDK path is a symlink.
source§fn supports_deployment_target(
&self,
_target_name: &str,
_target_version: &SdkVersion
) -> Result<bool, Error>
fn supports_deployment_target(
&self,
_target_name: &str,
_target_version: &SdkVersion
) -> Result<bool, Error>
Whether this SDK supports targeting the given target name at specified OS version.
source§fn find_in_directory(root: &Path) -> Result<Vec<Self>, Error>
fn find_in_directory(root: &Path) -> Result<Vec<Self>, Error>
Find Apple SDKs in a specified directory. Read more
source§fn find_command_line_tools_sdks() -> Result<Option<Vec<Self>>, Error>
fn find_command_line_tools_sdks() -> Result<Option<Vec<Self>>, Error>
Locate SDKs installed as part of the Xcode Command Line Tools. Read more
source§fn as_sdk_path(&self) -> SdkPath
fn as_sdk_path(&self) -> SdkPath
👎Deprecated since 0.1.1: plase use
sdk_path instead