Struct x86defs::cpuid::ExtendedAddressSpaceSizesEbx
source · pub struct ExtendedAddressSpaceSizesEbx(/* private fields */);
Implementations§
source§impl ExtendedAddressSpaceSizesEbx
impl ExtendedAddressSpaceSizesEbx
sourcepub const fn with_cl_zero(self, value: bool) -> Self
pub const fn with_cl_zero(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_cl_zero(&mut self, value: bool)
pub fn set_cl_zero(&mut self, value: bool)
Bits: 0..1
sourcepub const fn inst_ret_cnt_msr(&self) -> bool
pub const fn inst_ret_cnt_msr(&self) -> bool
Bits: 1..2
sourcepub const fn with_inst_ret_cnt_msr(self, value: bool) -> Self
pub const fn with_inst_ret_cnt_msr(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_inst_ret_cnt_msr(&mut self, value: bool)
pub fn set_inst_ret_cnt_msr(&mut self, value: bool)
Bits: 1..2
sourcepub const fn x_save_er_ptr(&self) -> bool
pub const fn x_save_er_ptr(&self) -> bool
Bits: 2..3
sourcepub const fn with_x_save_er_ptr(self, value: bool) -> Self
pub const fn with_x_save_er_ptr(self, value: bool) -> Self
Bits: 2..3
sourcepub fn set_x_save_er_ptr(&mut self, value: bool)
pub fn set_x_save_er_ptr(&mut self, value: bool)
Bits: 2..3
sourcepub const fn with_invlpgb(self, value: bool) -> Self
pub const fn with_invlpgb(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_invlpgb(&mut self, value: bool)
pub fn set_invlpgb(&mut self, value: bool)
Bits: 3..4
sourcepub const fn with_rdpru(self, value: bool) -> Self
pub const fn with_rdpru(self, value: bool) -> Self
Bits: 4..5
sourcepub const fn with_rsvd1(self, value: bool) -> Self
pub const fn with_rsvd1(self, value: bool) -> Self
Bits: 5..6
sourcepub const fn with_rsvd2(self, value: u8) -> Self
pub const fn with_rsvd2(self, value: u8) -> Self
Bits: 7..9
sourcepub const fn with_wbnoinvd(self, value: bool) -> Self
pub const fn with_wbnoinvd(self, value: bool) -> Self
Bits: 9..10
sourcepub fn set_wbnoinvd(&mut self, value: bool)
pub fn set_wbnoinvd(&mut self, value: bool)
Bits: 9..10
sourcepub const fn with_rsvd3(self, value: u8) -> Self
pub const fn with_rsvd3(self, value: u8) -> Self
Bits: 10..12
sourcepub const fn int_wbinvd(&self) -> bool
pub const fn int_wbinvd(&self) -> bool
Bits: 13..14
sourcepub const fn with_int_wbinvd(self, value: bool) -> Self
pub const fn with_int_wbinvd(self, value: bool) -> Self
Bits: 13..14
sourcepub fn set_int_wbinvd(&mut self, value: bool)
pub fn set_int_wbinvd(&mut self, value: bool)
Bits: 13..14
sourcepub const fn with_stibp(self, value: bool) -> Self
pub const fn with_stibp(self, value: bool) -> Self
Bits: 15..16
sourcepub const fn with_rsvd4(self, value: bool) -> Self
pub const fn with_rsvd4(self, value: bool) -> Self
Bits: 16..17
sourcepub const fn stibp_always_on(&self) -> bool
pub const fn stibp_always_on(&self) -> bool
Bits: 17..18
sourcepub const fn with_stibp_always_on(self, value: bool) -> Self
pub const fn with_stibp_always_on(self, value: bool) -> Self
Bits: 17..18
sourcepub fn set_stibp_always_on(&mut self, value: bool)
pub fn set_stibp_always_on(&mut self, value: bool)
Bits: 17..18
sourcepub const fn with_rsvd5(self, value: u8) -> Self
pub const fn with_rsvd5(self, value: u8) -> Self
Bits: 18..20
sourcepub const fn efer_lmsle_unsupported(&self) -> bool
pub const fn efer_lmsle_unsupported(&self) -> bool
Bits: 20..21
sourcepub const fn with_efer_lmsle_unsupported(self, value: bool) -> Self
pub const fn with_efer_lmsle_unsupported(self, value: bool) -> Self
Bits: 20..21
sourcepub fn set_efer_lmsle_unsupported(&mut self, value: bool)
pub fn set_efer_lmsle_unsupported(&mut self, value: bool)
Bits: 20..21
sourcepub const fn nested_invlpgb(&self) -> bool
pub const fn nested_invlpgb(&self) -> bool
Bits: 21..22
sourcepub const fn with_nested_invlpgb(self, value: bool) -> Self
pub const fn with_nested_invlpgb(self, value: bool) -> Self
Bits: 21..22
sourcepub fn set_nested_invlpgb(&mut self, value: bool)
pub fn set_nested_invlpgb(&mut self, value: bool)
Bits: 21..22
sourcepub const fn with_rsvd6(self, value: bool) -> Self
pub const fn with_rsvd6(self, value: bool) -> Self
Bits: 22..23
sourcepub const fn virt_spec_ctrl(&self) -> bool
pub const fn virt_spec_ctrl(&self) -> bool
Bits: 25..26
sourcepub const fn with_virt_spec_ctrl(self, value: bool) -> Self
pub const fn with_virt_spec_ctrl(self, value: bool) -> Self
Bits: 25..26
sourcepub fn set_virt_spec_ctrl(&mut self, value: bool)
pub fn set_virt_spec_ctrl(&mut self, value: bool)
Bits: 25..26
sourcepub const fn with_ssb_no(self, value: bool) -> Self
pub const fn with_ssb_no(self, value: bool) -> Self
Bits: 26..27
sourcepub fn set_ssb_no(&mut self, value: bool)
pub fn set_ssb_no(&mut self, value: bool)
Bits: 26..27
sourcepub const fn with_btc_no(self, value: bool) -> Self
pub const fn with_btc_no(self, value: bool) -> Self
Bits: 29..30
sourcepub fn set_btc_no(&mut self, value: bool)
pub fn set_btc_no(&mut self, value: bool)
Bits: 29..30
sourcepub const fn ibpb_rsb_flush(&self) -> bool
pub const fn ibpb_rsb_flush(&self) -> bool
Bits: 30..31
sourcepub const fn with_ibpb_rsb_flush(self, value: bool) -> Self
pub const fn with_ibpb_rsb_flush(self, value: bool) -> Self
Bits: 30..31
sourcepub fn set_ibpb_rsb_flush(&mut self, value: bool)
pub fn set_ibpb_rsb_flush(&mut self, value: bool)
Bits: 30..31
sourcepub const fn with_rsvd7(self, value: bool) -> Self
pub const fn with_rsvd7(self, value: bool) -> Self
Bits: 31..32
Trait Implementations§
source§impl Clone for ExtendedAddressSpaceSizesEbx
impl Clone for ExtendedAddressSpaceSizesEbx
source§fn clone(&self) -> ExtendedAddressSpaceSizesEbx
fn clone(&self) -> ExtendedAddressSpaceSizesEbx
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 ExtendedAddressSpaceSizesEbx
impl Debug for ExtendedAddressSpaceSizesEbx
source§impl From<ExtendedAddressSpaceSizesEbx> for u32
impl From<ExtendedAddressSpaceSizesEbx> for u32
source§fn from(v: ExtendedAddressSpaceSizesEbx) -> u32
fn from(v: ExtendedAddressSpaceSizesEbx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedAddressSpaceSizesEbx
impl From<u32> for ExtendedAddressSpaceSizesEbx
impl Copy for ExtendedAddressSpaceSizesEbx
Auto Trait Implementations§
impl Freeze for ExtendedAddressSpaceSizesEbx
impl RefUnwindSafe for ExtendedAddressSpaceSizesEbx
impl Send for ExtendedAddressSpaceSizesEbx
impl Sync for ExtendedAddressSpaceSizesEbx
impl Unpin for ExtendedAddressSpaceSizesEbx
impl UnwindSafe for ExtendedAddressSpaceSizesEbx
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
)