pub struct SdkPath {
pub path: PathBuf,
pub platform: Platform,
pub version: Option<SdkVersion>,
}
Expand description
Represents an SDK path with metadata parsed from the path.
Fields§
§path: PathBuf
The filesystem path.
platform: Platform
The platform this SDK belongs to.
version: Option<SdkVersion>
The version of the SDK.
Only present if the version occurred in the directory name. Use AppleSdk to parse SDK directories to reliably obtain the SDK version.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SdkPath
impl RefUnwindSafe for SdkPath
impl Send for SdkPath
impl Sync for SdkPath
impl Unpin for SdkPath
impl UnwindSafe for SdkPath
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