Struct MacTypes_sys::NumVersion
[−]
[src]
#[repr(C)]pub struct NumVersion { pub nonRelRev: UInt8, pub stage: UInt8, pub minorAndBugRef: UInt8, pub majorRev: UInt8, }
Packed BCD version representation (e.g. "4.2.1a3" is 0x04214003).
Fields
nonRelRev: UInt8
1st part of version number in BCD.
stage: UInt8
2nd & 3rd part of version number share a byte.
minorAndBugRef: UInt8
stage code: dev, alpha, beta, final.
majorRev: UInt8
revision level of non-released version.
Trait Implementations
impl Clone for NumVersion
[src]
fn clone(&self) -> NumVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for NumVersion
[src]
impl Debug for NumVersion
[src]
impl Default for NumVersion
[src]
fn default() -> NumVersion
Returns the "default value" for a type. Read more
impl Eq for NumVersion
[src]
impl Hash for NumVersion
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for NumVersion
[src]
fn eq(&self, __arg_0: &NumVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NumVersion) -> bool
This method tests for !=
.