Struct mozversion::Version [] [src]

pub struct Version {
    pub major: u64,
    pub minor: u64,
    pub patch: u64,
    pub pre: Option<(String, u64)>,
}

Version number information

Fields

Major version number (e.g. 55 in 55.0)

Minor version number (e.g. 1 in 55.1)

Patch version number (e.g. 2 in 55.1.2)

Prerelase information (e.g. Some(("a", 1)) in 55.0a1)

Methods

impl Version
[src]

Trait Implementations

impl Default for Version
[src]

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

impl Clone for Version
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Version
[src]

Formats the value using the given formatter. Read more