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

channel

target arch cfg value

target env cfg value

target OS cfg value

target pointer width cfg value

target vendor cfg value

Methods

impl RustInfo
[src]

[src]

Returns new instance

Trait Implementations

impl Debug for RustInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RustInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for RustInfo
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for RustInfo

impl Sync for RustInfo