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

1st part of version number in BCD.

2nd & 3rd part of version number share a byte.

stage code: dev, alpha, beta, final.

revision level of non-released version.

Trait Implementations

impl Clone for NumVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NumVersion
[src]

impl Debug for NumVersion
[src]

Formats the value using the given formatter.

impl Default for NumVersion
[src]

Returns the "default value" for a type. Read more

impl Eq for NumVersion
[src]

impl Hash for NumVersion
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for NumVersion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.