Struct tugger_apple::AppleSdk [−][src]
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,
}Describes an Apple SDK on the filesystem.
Fields
path: PathBufRoot directory of the SDK.
is_symlink: boolWhether the root directory is a symlink to another path.
platform_name: StringThe name of the platform
name: StringThe canonical name of the SDK. e.g. macosx11.1.
default_deployment_target: StringVersion of the default deployment target for this SDK.
default_variant: Option<String>Name of default settings variant for this SDK.
display_name: StringHuman friendly name of this SDK.
maximum_deployment_target: StringMaximum deployment target version this SDK supports.
minimal_display_name: StringHuman friendly value for name (probably just version string).
supported_targets: HashMap<String, AppleSdkSupportedTarget>Describes named target configurations this SDK supports.
version: StringVersion of this SDK. e.g. 11.1.
Implementations
impl AppleSdk[src]
impl AppleSdk[src]pub fn from_directory(path: &Path) -> Result<Self>[src]
Attempt to resolve an SDK from a path to the SDK root directory.
pub fn version_as_semver(&self) -> Result<Version>[src]
Convert the version string to a semver::Version.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AppleSdk
impl RefUnwindSafe for AppleSdkimpl UnwindSafe for AppleSdk
impl UnwindSafe for AppleSdk