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>,
pub target_triple: Option<String>,
}
Expand description
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
target_triple: Option<String>
target triple constructed from target arc, vendor, os and env
Implementations§
Trait Implementations§
source§impl PartialEq for RustInfo
impl PartialEq for RustInfo
impl StructuralPartialEq for RustInfo
Auto Trait Implementations§
impl Freeze for RustInfo
impl RefUnwindSafe for RustInfo
impl Send for RustInfo
impl Sync for RustInfo
impl Unpin for RustInfo
impl UnwindSafe for RustInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more