Enum rpi_info::RevisionNum [] [src]

pub enum RevisionNum {
    V1(u8u8),
    V2(u8),
}

This is a board revision number (e.g. 1.0 for old style, 1 for new), not the top level revision code.

Variants

Old-style x.y revisions

New-style integer revisions

Trait Implementations

impl Debug for RevisionNum
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RevisionNum
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for RevisionNum
[src]

impl PartialEq for RevisionNum
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for RevisionNum

impl Sync for RevisionNum