Struct julia::version::Version
[−]
[src]
pub struct Version<'a> { pub name: &'a str, pub major: u32, pub minor: u32, pub patch: u32, pub release: bool, pub branch: Option<&'a str>, pub commit: Option<&'a str>, }
Primitive for comparing and displaying the version of both Julia and julia-rs.
Fields
name: &'a str
major: u32
minor: u32
patch: u32
release: bool
branch: Option<&'a str>
commit: Option<&'a str>
Methods
impl<'a> Version<'a>
[src]
fn shorten(self) -> Version<'a>
[src]
Returns a shortened version, i.e. without the branch and commit.
Trait Implementations
impl<'a> Clone for Version<'a>
[src]
fn clone(&self) -> Version<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more