Struct build_info_common::CpuInfo
source · pub struct CpuInfo {
pub arch: String,
pub pointer_width: u64,
pub endianness: Endianness,
pub features: Vec<String>,
}Fields§
§arch: StringThe CPU target architecture
pointer_width: u64The CPU pointer width
endianness: EndiannessThe CPU target endianness
features: Vec<String>List of CPU target features enabled
Trait Implementations§
source§impl Ord for CpuInfo
impl Ord for CpuInfo
source§impl PartialEq<CpuInfo> for CpuInfo
impl PartialEq<CpuInfo> for CpuInfo
source§impl PartialOrd<CpuInfo> for CpuInfo
impl PartialOrd<CpuInfo> for CpuInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more