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: u8Trait Implementations§
Source§impl Clone for DeploymentTarget
impl Clone for DeploymentTarget
Source§fn clone(&self) -> DeploymentTarget
fn clone(&self) -> DeploymentTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeploymentTarget
Source§impl Debug for DeploymentTarget
impl Debug for DeploymentTarget
impl Eq 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 (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
Source§impl PartialEq for DeploymentTarget
impl PartialEq for DeploymentTarget
Source§fn eq(&self, other: &DeploymentTarget) -> bool
fn eq(&self, other: &DeploymentTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DeploymentTarget
impl PartialOrd 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 UnsafeUnpin 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