Struct rust_tools_version::Version
[−]
[src]
pub struct Version { pub major: u32, pub minor: u32, pub patch: u32, }
Fields
major: u32
minor: u32
patch: u32
Methods
impl Version
[src]
fn new(major: u32, minor: u32, patch: u32) -> Version
fn from_env_var() -> Option<Version>
fn to_unstable_tool_string(&self) -> String
fn to_stable_tool_string(&self) -> String
Trait Implementations
impl Debug for Version
[src]
impl Copy for Version
[src]
impl Clone for Version
[src]
fn clone(&self) -> Version
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 Eq for Version
[src]
impl PartialEq for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Version) -> bool
This method tests for !=
.