pub struct DeploymentTarget {
pub major: u16,
pub minor: u8,
pub patch: u8,
}
Expand description
The minimum OS version that we’re compiling for.
This is formatted as "major.minor.patch"
.
The size of the parts here are limited by Mach-O’s LC_BUILD_VERSION
.
Fields§
§major: u16
§minor: u8
§patch: u8
Trait Implementations§
Source§impl Clone for DeploymentTarget
impl Clone for DeploymentTarget
Source§fn clone(&self) -> DeploymentTarget
fn clone(&self) -> DeploymentTarget
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeploymentTarget
impl Debug for DeploymentTarget
Source§impl Hash for DeploymentTarget
impl Hash for DeploymentTarget
Source§impl Ord for DeploymentTarget
impl Ord for DeploymentTarget
Source§fn cmp(&self, other: &DeploymentTarget) -> Ordering
fn cmp(&self, other: &DeploymentTarget) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DeploymentTarget
impl PartialEq for DeploymentTarget
Source§impl PartialOrd for DeploymentTarget
impl PartialOrd for DeploymentTarget
impl Copy for DeploymentTarget
impl Eq for DeploymentTarget
impl StructuralPartialEq for DeploymentTarget
Auto Trait Implementations§
impl Freeze for DeploymentTarget
impl RefUnwindSafe for DeploymentTarget
impl Send for DeploymentTarget
impl Sync for DeploymentTarget
impl Unpin for DeploymentTarget
impl UnwindSafe for DeploymentTarget
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