pub struct AppleDiscoveryOptions {
pub developer_dir: Option<Utf8PathBuf>,
pub executable_search_paths: Vec<Utf8PathBuf>,
pub current_dir: Utf8PathBuf,
pub host_os: String,
pub host_arch: String,
}Expand description
Explicit, read-only inputs for Apple toolchain discovery.
Fields§
§developer_dir: Option<Utf8PathBuf>Preferred Xcode developer directory.
executable_search_paths: Vec<Utf8PathBuf>Directories searched for host executables.
current_dir: Utf8PathBufExisting directory used while probing tools.
host_os: StringHost operating-system override for deterministic tests.
host_arch: StringHost architecture override for deterministic tests.
Implementations§
Source§impl AppleDiscoveryOptions
impl AppleDiscoveryOptions
Sourcepub fn from_environment() -> Self
pub fn from_environment() -> Self
Capture DEVELOPER_DIR, PATH, the current directory, and host identity.
Trait Implementations§
Source§impl Clone for AppleDiscoveryOptions
impl Clone for AppleDiscoveryOptions
Source§impl Debug for AppleDiscoveryOptions
impl Debug for AppleDiscoveryOptions
Source§impl Default for AppleDiscoveryOptions
impl Default for AppleDiscoveryOptions
impl Eq for AppleDiscoveryOptions
Source§impl PartialEq for AppleDiscoveryOptions
impl PartialEq for AppleDiscoveryOptions
impl StructuralPartialEq for AppleDiscoveryOptions
Auto Trait Implementations§
impl Freeze for AppleDiscoveryOptions
impl RefUnwindSafe for AppleDiscoveryOptions
impl Send for AppleDiscoveryOptions
impl Sync for AppleDiscoveryOptions
impl Unpin for AppleDiscoveryOptions
impl UnsafeUnpin for AppleDiscoveryOptions
impl UnwindSafe for AppleDiscoveryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.