Struct x86defs::cpuid::ExtendedVersionAndFeaturesEbx
source · pub struct ExtendedVersionAndFeaturesEbx(/* private fields */);
Implementations§
source§impl ExtendedVersionAndFeaturesEbx
impl ExtendedVersionAndFeaturesEbx
sourcepub const fn with_brand_id(self, value: u16) -> Self
pub const fn with_brand_id(self, value: u16) -> Self
Bits: 0..16
sourcepub fn set_brand_id(&mut self, value: u16)
pub fn set_brand_id(&mut self, value: u16)
Bits: 0..16
sourcepub const fn with_pkg_type(self, value: u32) -> Self
pub const fn with_pkg_type(self, value: u32) -> Self
Bits: 28..32
sourcepub fn set_pkg_type(&mut self, value: u32)
pub fn set_pkg_type(&mut self, value: u32)
Bits: 28..32
Trait Implementations§
source§impl Clone for ExtendedVersionAndFeaturesEbx
impl Clone for ExtendedVersionAndFeaturesEbx
source§fn clone(&self) -> ExtendedVersionAndFeaturesEbx
fn clone(&self) -> ExtendedVersionAndFeaturesEbx
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 From<ExtendedVersionAndFeaturesEbx> for u32
impl From<ExtendedVersionAndFeaturesEbx> for u32
source§fn from(v: ExtendedVersionAndFeaturesEbx) -> u32
fn from(v: ExtendedVersionAndFeaturesEbx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedVersionAndFeaturesEbx
impl From<u32> for ExtendedVersionAndFeaturesEbx
impl Copy for ExtendedVersionAndFeaturesEbx
Auto Trait Implementations§
impl Freeze for ExtendedVersionAndFeaturesEbx
impl RefUnwindSafe for ExtendedVersionAndFeaturesEbx
impl Send for ExtendedVersionAndFeaturesEbx
impl Sync for ExtendedVersionAndFeaturesEbx
impl Unpin for ExtendedVersionAndFeaturesEbx
impl UnwindSafe for ExtendedVersionAndFeaturesEbx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)