pub struct DeveloperDirectory(/* private fields */);Expand description
Absolute Xcode developer directory selected per job through DEVELOPER_DIR.
Implementations§
Source§impl DeveloperDirectory
impl DeveloperDirectory
Sourcepub fn new(value: impl Into<String>) -> Result<Self, WorkflowConfigError>
pub fn new(value: impl Into<String>) -> Result<Self, WorkflowConfigError>
Validate an Xcode developer directory below /Applications.
§Errors
Rejects relative paths, traversal, shell/YAML syntax, and values longer than 256 bytes.
Sourcepub fn github_default() -> Self
pub fn github_default() -> Self
Standard GitHub-hosted runner Xcode selection.
§Panics
This cannot panic because the constant path satisfies all invariants.
Trait Implementations§
Source§impl Clone for DeveloperDirectory
impl Clone for DeveloperDirectory
Source§impl Debug for DeveloperDirectory
impl Debug for DeveloperDirectory
impl Eq for DeveloperDirectory
Source§impl Ord for DeveloperDirectory
impl Ord for DeveloperDirectory
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeveloperDirectory
impl PartialEq for DeveloperDirectory
Source§impl PartialOrd for DeveloperDirectory
impl PartialOrd for DeveloperDirectory
impl StructuralPartialEq for DeveloperDirectory
Auto Trait Implementations§
impl Freeze for DeveloperDirectory
impl RefUnwindSafe for DeveloperDirectory
impl Send for DeveloperDirectory
impl Sync for DeveloperDirectory
impl Unpin for DeveloperDirectory
impl UnsafeUnpin for DeveloperDirectory
impl UnwindSafe for DeveloperDirectory
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.