#[repr(C)]pub struct NSOperatingSystemVersion {
pub majorVersion: NSInteger,
pub minorVersion: NSInteger,
pub patchVersion: NSInteger,
}
Available on crate feature
NSProcessInfo
only.Fields§
§majorVersion: NSInteger
§minorVersion: NSInteger
§patchVersion: NSInteger
Trait Implementations§
source§impl Clone for NSOperatingSystemVersion
impl Clone for NSOperatingSystemVersion
source§fn clone(&self) -> NSOperatingSystemVersion
fn clone(&self) -> NSOperatingSystemVersion
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 NSOperatingSystemVersion
impl Debug for NSOperatingSystemVersion
source§impl Encode for NSOperatingSystemVersion
impl Encode for NSOperatingSystemVersion
source§impl PartialEq for NSOperatingSystemVersion
impl PartialEq for NSOperatingSystemVersion
source§fn eq(&self, other: &NSOperatingSystemVersion) -> bool
fn eq(&self, other: &NSOperatingSystemVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for NSOperatingSystemVersion
impl RefEncode for NSOperatingSystemVersion
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSOperatingSystemVersion
impl Send for NSOperatingSystemVersion
impl StructuralPartialEq for NSOperatingSystemVersion
impl Sync for NSOperatingSystemVersion
Auto Trait Implementations§
impl Freeze for NSOperatingSystemVersion
impl RefUnwindSafe for NSOperatingSystemVersion
impl Unpin for NSOperatingSystemVersion
impl UnwindSafe for NSOperatingSystemVersion
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.