Struct xed_sys::xed_cpuid_rec_t
source · #[repr(C)]pub struct xed_cpuid_rec_t {
pub leaf: u32,
pub subleaf: u32,
pub reg: xed_reg_enum_t,
pub bit_start: u8,
pub bit_end: u8,
pub value: u32,
}
Expand description
@ingroup CPUID @brief a data structure representing a CPUID record
Fields§
§leaf: u32
< cpuid leaf
subleaf: u32
< cpuid subleaf
reg: xed_reg_enum_t
< the register containing the bits (EAX,EBX,ECX,EDX)
bit_start: u8
< the bit start index for the feature
bit_end: u8
< the bit end index for the feature
value: u32
< the required feature value
Trait Implementations§
source§impl Clone for xed_cpuid_rec_t
impl Clone for xed_cpuid_rec_t
source§fn clone(&self) -> xed_cpuid_rec_t
fn clone(&self) -> xed_cpuid_rec_t
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 xed_cpuid_rec_t
impl Debug for xed_cpuid_rec_t
impl Copy for xed_cpuid_rec_t
Auto Trait Implementations§
impl RefUnwindSafe for xed_cpuid_rec_t
impl Send for xed_cpuid_rec_t
impl Sync for xed_cpuid_rec_t
impl Unpin for xed_cpuid_rec_t
impl UnwindSafe for xed_cpuid_rec_t
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