Struct clang::Version
[−]
[src]
pub struct Version { pub x: i32, pub y: i32, pub z: i32, }
A version number in the form x.y.z
.
Fields
x: i32
The x
component of the version number.
y: i32
The y
component of the version number.
z: i32
The z
component of the version number.
Trait Implementations
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 Debug 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 !=
.
impl Eq for Version
[src]
impl Hash for Version
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.