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 for CpuInfo
impl PartialEq for CpuInfo
source§impl PartialOrd for CpuInfo
impl PartialOrd 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 moreimpl Eq for CpuInfo
impl StructuralPartialEq for CpuInfo
Auto Trait Implementations§
impl RefUnwindSafe for CpuInfo
impl Send for CpuInfo
impl Sync for CpuInfo
impl Unpin for CpuInfo
impl UnwindSafe for CpuInfo
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