Struct x86defs::cpuid::ExtendedAddressSpaceSizesEbx

source ·
pub struct ExtendedAddressSpaceSizesEbx(/* private fields */);

Implementations§

source§

impl ExtendedAddressSpaceSizesEbx

source

pub const fn new() -> Self

Creates a new default initialized bitfield.

source

pub const fn from_bits(bits: u32) -> Self

Convert from bits.

source

pub const fn into_bits(self) -> u32

Convert into bits.

source

pub const fn cl_zero(&self) -> bool

Bits: 0..1

source

pub const fn with_cl_zero(self, value: bool) -> Self

Bits: 0..1

source

pub fn set_cl_zero(&mut self, value: bool)

Bits: 0..1

source

pub const fn inst_ret_cnt_msr(&self) -> bool

Bits: 1..2

source

pub const fn with_inst_ret_cnt_msr(self, value: bool) -> Self

Bits: 1..2

source

pub fn set_inst_ret_cnt_msr(&mut self, value: bool)

Bits: 1..2

source

pub const fn x_save_er_ptr(&self) -> bool

Bits: 2..3

source

pub const fn with_x_save_er_ptr(self, value: bool) -> Self

Bits: 2..3

source

pub fn set_x_save_er_ptr(&mut self, value: bool)

Bits: 2..3

source

pub const fn invlpgb(&self) -> bool

Bits: 3..4

source

pub const fn with_invlpgb(self, value: bool) -> Self

Bits: 3..4

source

pub fn set_invlpgb(&mut self, value: bool)

Bits: 3..4

source

pub const fn rdpru(&self) -> bool

Bits: 4..5

source

pub const fn with_rdpru(self, value: bool) -> Self

Bits: 4..5

source

pub fn set_rdpru(&mut self, value: bool)

Bits: 4..5

source

pub const fn rsvd1(&self) -> bool

Bits: 5..6

source

pub const fn with_rsvd1(self, value: bool) -> Self

Bits: 5..6

source

pub fn set_rsvd1(&mut self, value: bool)

Bits: 5..6

source

pub const fn mbe(&self) -> bool

Bits: 6..7

source

pub const fn with_mbe(self, value: bool) -> Self

Bits: 6..7

source

pub fn set_mbe(&mut self, value: bool)

Bits: 6..7

source

pub const fn rsvd2(&self) -> u8

Bits: 7..9

source

pub const fn with_rsvd2(self, value: u8) -> Self

Bits: 7..9

source

pub fn set_rsvd2(&mut self, value: u8)

Bits: 7..9

source

pub const fn wbnoinvd(&self) -> bool

Bits: 9..10

source

pub const fn with_wbnoinvd(self, value: bool) -> Self

Bits: 9..10

source

pub fn set_wbnoinvd(&mut self, value: bool)

Bits: 9..10

source

pub const fn rsvd3(&self) -> u8

Bits: 10..12

source

pub const fn with_rsvd3(self, value: u8) -> Self

Bits: 10..12

source

pub fn set_rsvd3(&mut self, value: u8)

Bits: 10..12

source

pub const fn ibpb(&self) -> bool

Bits: 12..13

source

pub const fn with_ibpb(self, value: bool) -> Self

Bits: 12..13

source

pub fn set_ibpb(&mut self, value: bool)

Bits: 12..13

source

pub const fn int_wbinvd(&self) -> bool

Bits: 13..14

source

pub const fn with_int_wbinvd(self, value: bool) -> Self

Bits: 13..14

source

pub fn set_int_wbinvd(&mut self, value: bool)

Bits: 13..14

source

pub const fn ibrs(&self) -> bool

Bits: 14..15

source

pub const fn with_ibrs(self, value: bool) -> Self

Bits: 14..15

source

pub fn set_ibrs(&mut self, value: bool)

Bits: 14..15

source

pub const fn stibp(&self) -> bool

Bits: 15..16

source

pub const fn with_stibp(self, value: bool) -> Self

Bits: 15..16

source

pub fn set_stibp(&mut self, value: bool)

Bits: 15..16

source

pub const fn rsvd4(&self) -> bool

Bits: 16..17

source

pub const fn with_rsvd4(self, value: bool) -> Self

Bits: 16..17

source

pub fn set_rsvd4(&mut self, value: bool)

Bits: 16..17

source

pub const fn stibp_always_on(&self) -> bool

Bits: 17..18

source

pub const fn with_stibp_always_on(self, value: bool) -> Self

Bits: 17..18

source

pub fn set_stibp_always_on(&mut self, value: bool)

Bits: 17..18

source

pub const fn rsvd5(&self) -> u8

Bits: 18..20

source

pub const fn with_rsvd5(self, value: u8) -> Self

Bits: 18..20

source

pub fn set_rsvd5(&mut self, value: u8)

Bits: 18..20

source

pub const fn efer_lmsle_unsupported(&self) -> bool

Bits: 20..21

source

pub const fn with_efer_lmsle_unsupported(self, value: bool) -> Self

Bits: 20..21

source

pub fn set_efer_lmsle_unsupported(&mut self, value: bool)

Bits: 20..21

source

pub const fn nested_invlpgb(&self) -> bool

Bits: 21..22

source

pub const fn with_nested_invlpgb(self, value: bool) -> Self

Bits: 21..22

source

pub fn set_nested_invlpgb(&mut self, value: bool)

Bits: 21..22

source

pub const fn rsvd6(&self) -> bool

Bits: 22..23

source

pub const fn with_rsvd6(self, value: bool) -> Self

Bits: 22..23

source

pub fn set_rsvd6(&mut self, value: bool)

Bits: 22..23

source

pub const fn ppin(&self) -> bool

Bits: 23..24

source

pub const fn with_ppin(self, value: bool) -> Self

Bits: 23..24

source

pub fn set_ppin(&mut self, value: bool)

Bits: 23..24

source

pub const fn mdd(&self) -> bool

Bits: 24..25

source

pub const fn with_mdd(self, value: bool) -> Self

Bits: 24..25

source

pub fn set_mdd(&mut self, value: bool)

Bits: 24..25

source

pub const fn virt_spec_ctrl(&self) -> bool

Bits: 25..26

source

pub const fn with_virt_spec_ctrl(self, value: bool) -> Self

Bits: 25..26

source

pub fn set_virt_spec_ctrl(&mut self, value: bool)

Bits: 25..26

source

pub const fn ssb_no(&self) -> bool

Bits: 26..27

source

pub const fn with_ssb_no(self, value: bool) -> Self

Bits: 26..27

source

pub fn set_ssb_no(&mut self, value: bool)

Bits: 26..27

source

pub const fn cppc(&self) -> bool

Bits: 27..28

source

pub const fn with_cppc(self, value: bool) -> Self

Bits: 27..28

source

pub fn set_cppc(&mut self, value: bool)

Bits: 27..28

source

pub const fn psfd(&self) -> bool

Bits: 28..29

source

pub const fn with_psfd(self, value: bool) -> Self

Bits: 28..29

source

pub fn set_psfd(&mut self, value: bool)

Bits: 28..29

source

pub const fn btc_no(&self) -> bool

Bits: 29..30

source

pub const fn with_btc_no(self, value: bool) -> Self

Bits: 29..30

source

pub fn set_btc_no(&mut self, value: bool)

Bits: 29..30

source

pub const fn ibpb_rsb_flush(&self) -> bool

Bits: 30..31

source

pub const fn with_ibpb_rsb_flush(self, value: bool) -> Self

Bits: 30..31

source

pub fn set_ibpb_rsb_flush(&mut self, value: bool)

Bits: 30..31

source

pub const fn rsvd7(&self) -> bool

Bits: 31..32

source

pub const fn with_rsvd7(self, value: bool) -> Self

Bits: 31..32

source

pub fn set_rsvd7(&mut self, value: bool)

Bits: 31..32

Trait Implementations§

source§

impl Clone for ExtendedAddressSpaceSizesEbx

source§

fn clone(&self) -> ExtendedAddressSpaceSizesEbx

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExtendedAddressSpaceSizesEbx

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ExtendedAddressSpaceSizesEbx

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl From<ExtendedAddressSpaceSizesEbx> for u32

source§

fn from(v: ExtendedAddressSpaceSizesEbx) -> u32

Converts to this type from the input type.
source§

impl From<u32> for ExtendedAddressSpaceSizesEbx

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl Copy for ExtendedAddressSpaceSizesEbx

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.