Struct oysterpack_built_mod::RustcVersion [−][src]
pub struct RustcVersion(_);
The output of rustc -V
Methods
impl RustcVersion
[src]
impl RustcVersion
pub fn new(value: &str) -> RustcVersion
[src]
pub fn new(value: &str) -> RustcVersion
TargetTriple constructor
pub fn get(&self) -> &str
[src]
pub fn get(&self) -> &str
get the underlying value
Trait Implementations
impl Debug for RustcVersion
[src]
impl Debug for RustcVersion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RustcVersion
[src]
impl Clone for RustcVersion
fn clone(&self) -> RustcVersion
[src]
fn clone(&self) -> RustcVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for RustcVersion
[src]
impl Eq for RustcVersion
impl PartialEq for RustcVersion
[src]
impl PartialEq for RustcVersion
fn eq(&self, other: &RustcVersion) -> bool
[src]
fn eq(&self, other: &RustcVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RustcVersion) -> bool
[src]
fn ne(&self, other: &RustcVersion) -> bool
This method tests for !=
.
impl Hash for RustcVersion
[src]
impl Hash for RustcVersion
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for RustcVersion
[src]
impl Display for RustcVersion
Auto Trait Implementations
impl Send for RustcVersion
impl Send for RustcVersion
impl Sync for RustcVersion
impl Sync for RustcVersion