Struct minidump_writer::minidump_format::format::X86CpuInfo
source · pub struct X86CpuInfo {
pub vendor_id: [u32; 3],
pub version_information: u32,
pub feature_information: u32,
pub amd_extended_cpu_features: u32,
}
Expand description
x86-specific CPU information derived from the cpuid
instruction
This struct matches the definition of the struct of the same name from minidumpapiset.h,
which is contained within the CPU_INFORMATION
union.
Fields§
§vendor_id: [u32; 3]
§version_information: u32
§feature_information: u32
§amd_extended_cpu_features: u32
Trait Implementations§
source§impl Clone for X86CpuInfo
impl Clone for X86CpuInfo
source§fn clone(&self) -> X86CpuInfo
fn clone(&self) -> X86CpuInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for X86CpuInfo
impl Debug for X86CpuInfo
source§impl<'a> TryFromCtx<'a, Endian> for X86CpuInfowhere
X86CpuInfo: 'a,
impl<'a> TryFromCtx<'a, Endian> for X86CpuInfowhere
X86CpuInfo: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian ) -> Result<(X86CpuInfo, usize), <X86CpuInfo as TryFromCtx<'a, Endian>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a X86CpuInfo
impl<'a> TryIntoCtx<Endian> for &'a X86CpuInfo
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <&'a X86CpuInfo as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for X86CpuInfo
impl TryIntoCtx<Endian> for X86CpuInfo
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <X86CpuInfo as TryIntoCtx<Endian>>::Error>
Auto Trait Implementations§
impl Freeze for X86CpuInfo
impl RefUnwindSafe for X86CpuInfo
impl Send for X86CpuInfo
impl Sync for X86CpuInfo
impl Unpin for X86CpuInfo
impl UnwindSafe for X86CpuInfo
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