Struct version::Version
[−]
[src]
pub struct Version { pub major: u32, pub minor: u32, pub patch: u32, }
Fields
major: u32
minor: u32
patch: u32
Trait Implementations
impl Debug for Version
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Version
[src]
impl PartialEq for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Version) -> bool
[src]
This method tests for !=
.
impl Display for Version
[src]
fn fmt(&self, fmtr: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more