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 PartialOrd for CpuInfo
impl PartialOrd for CpuInfo
impl Eq for CpuInfo
impl StructuralPartialEq for CpuInfo
Auto Trait Implementations§
impl Freeze for CpuInfo
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