Struct rust_info::types::RustInfo
[−]
[src]
pub struct RustInfo { pub version: Option<String>, pub channel: Option<RustChannel>, pub target_arch: Option<String>, pub target_env: Option<String>, pub target_os: Option<String>, pub target_pointer_width: Option<String>, pub target_vendor: Option<String>, }
Holds the current rust installation and setup information
Fields
version: Option<String>
version
channel: Option<RustChannel>
channel
target_arch: Option<String>
target arch cfg value
target_env: Option<String>
target env cfg value
target_os: Option<String>
target OS cfg value
target_pointer_width: Option<String>
target pointer width cfg value
target_vendor: Option<String>
target vendor cfg value
Methods
impl RustInfo
[src]
Trait Implementations
impl Debug for RustInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RustInfo
[src]
fn clone(&self) -> RustInfo
[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