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
insteadAuto Trait Implementations§
impl Freeze for SimpleSdk
impl RefUnwindSafe for SimpleSdk
impl Send for SimpleSdk
impl Sync for SimpleSdk
impl Unpin for SimpleSdk
impl UnwindSafe for SimpleSdk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more