Struct tugger_apple::AppleSdk [−][src]
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
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 Send for AppleSdk
impl Sync for AppleSdk
impl Unpin for AppleSdk
impl UnwindSafe for AppleSdk
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,