Skip to main content

ExtendedSvmVersionAndFeaturesEdx

Struct ExtendedSvmVersionAndFeaturesEdx 

Source
pub struct ExtendedSvmVersionAndFeaturesEdx(/* private fields */);

Implementations§

Source§

impl ExtendedSvmVersionAndFeaturesEdx

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 np(&self) -> bool

Bits: 0..1

Source

pub const fn with_np_checked(self, value: bool) -> Result<Self, ()>

Bits: 0..1

Source

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

Bits: 0..1

Source

pub const fn set_np(&mut self, value: bool)

Bits: 0..1

Source

pub const fn set_np_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 0..1

Source

pub const fn lbr_virt(&self) -> bool

Bits: 1..2

Source

pub const fn with_lbr_virt_checked(self, value: bool) -> Result<Self, ()>

Bits: 1..2

Source

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

Bits: 1..2

Source

pub const fn set_lbr_virt(&mut self, value: bool)

Bits: 1..2

Source

pub const fn set_lbr_virt_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 1..2

Source

pub const fn svml(&self) -> bool

Bits: 2..3

Source

pub const fn with_svml_checked(self, value: bool) -> Result<Self, ()>

Bits: 2..3

Source

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

Bits: 2..3

Source

pub const fn set_svml(&mut self, value: bool)

Bits: 2..3

Source

pub const fn set_svml_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 2..3

Source

pub const fn nrips(&self) -> bool

Bits: 3..4

Source

pub const fn with_nrips_checked(self, value: bool) -> Result<Self, ()>

Bits: 3..4

Source

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

Bits: 3..4

Source

pub const fn set_nrips(&mut self, value: bool)

Bits: 3..4

Source

pub const fn set_nrips_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 3..4

Source

pub const fn tsc_rate_msr(&self) -> bool

Bits: 4..5

Source

pub const fn with_tsc_rate_msr_checked(self, value: bool) -> Result<Self, ()>

Bits: 4..5

Source

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

Bits: 4..5

Source

pub const fn set_tsc_rate_msr(&mut self, value: bool)

Bits: 4..5

Source

pub const fn set_tsc_rate_msr_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 4..5

Source

pub const fn vmcb_clean(&self) -> bool

Bits: 5..6

Source

pub const fn with_vmcb_clean_checked(self, value: bool) -> Result<Self, ()>

Bits: 5..6

Source

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

Bits: 5..6

Source

pub const fn set_vmcb_clean(&mut self, value: bool)

Bits: 5..6

Source

pub const fn set_vmcb_clean_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 5..6

Source

pub const fn flush_by_asid(&self) -> bool

Bits: 6..7

Source

pub const fn with_flush_by_asid_checked(self, value: bool) -> Result<Self, ()>

Bits: 6..7

Source

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

Bits: 6..7

Source

pub const fn set_flush_by_asid(&mut self, value: bool)

Bits: 6..7

Source

pub const fn set_flush_by_asid_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 6..7

Source

pub const fn decode_assists(&self) -> bool

Bits: 7..8

Source

pub const fn with_decode_assists_checked(self, value: bool) -> Result<Self, ()>

Bits: 7..8

Source

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

Bits: 7..8

Source

pub const fn set_decode_assists(&mut self, value: bool)

Bits: 7..8

Source

pub const fn set_decode_assists_checked( &mut self, value: bool, ) -> Result<(), ()>

Bits: 7..8

Source

pub const fn pause_filter(&self) -> bool

Bits: 10..11

Source

pub const fn with_pause_filter_checked(self, value: bool) -> Result<Self, ()>

Bits: 10..11

Source

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

Bits: 10..11

Source

pub const fn set_pause_filter(&mut self, value: bool)

Bits: 10..11

Source

pub const fn set_pause_filter_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 10..11

Source

pub const fn pause_filter_threshold(&self) -> bool

Bits: 12..13

Source

pub const fn with_pause_filter_threshold_checked( self, value: bool, ) -> Result<Self, ()>

Bits: 12..13

Source

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

Bits: 12..13

Source

pub const fn set_pause_filter_threshold(&mut self, value: bool)

Bits: 12..13

Source

pub const fn set_pause_filter_threshold_checked( &mut self, value: bool, ) -> Result<(), ()>

Bits: 12..13

Source

pub const fn avic(&self) -> bool

Bits: 13..14

Source

pub const fn with_avic_checked(self, value: bool) -> Result<Self, ()>

Bits: 13..14

Source

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

Bits: 13..14

Source

pub const fn set_avic(&mut self, value: bool)

Bits: 13..14

Source

pub const fn set_avic_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 13..14

Source

pub const fn vmsave_virt(&self) -> bool

Bits: 15..16

Source

pub const fn with_vmsave_virt_checked(self, value: bool) -> Result<Self, ()>

Bits: 15..16

Source

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

Bits: 15..16

Source

pub const fn set_vmsave_virt(&mut self, value: bool)

Bits: 15..16

Source

pub const fn set_vmsave_virt_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 15..16

Source

pub const fn vgif(&self) -> bool

Bits: 16..17

Source

pub const fn with_vgif_checked(self, value: bool) -> Result<Self, ()>

Bits: 16..17

Source

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

Bits: 16..17

Source

pub const fn set_vgif(&mut self, value: bool)

Bits: 16..17

Source

pub const fn set_vgif_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 16..17

Source

pub const fn gmet(&self) -> bool

Bits: 17..18

Source

pub const fn with_gmet_checked(self, value: bool) -> Result<Self, ()>

Bits: 17..18

Source

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

Bits: 17..18

Source

pub const fn set_gmet(&mut self, value: bool)

Bits: 17..18

Source

pub const fn set_gmet_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 17..18

Source

pub const fn x2avic(&self) -> bool

Bits: 18..19

Source

pub const fn with_x2avic_checked(self, value: bool) -> Result<Self, ()>

Bits: 18..19

Source

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

Bits: 18..19

Source

pub const fn set_x2avic(&mut self, value: bool)

Bits: 18..19

Source

pub const fn set_x2avic_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 18..19

Source

pub const fn ssscheck(&self) -> bool

Bits: 19..20

Source

pub const fn with_ssscheck_checked(self, value: bool) -> Result<Self, ()>

Bits: 19..20

Source

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

Bits: 19..20

Source

pub const fn set_ssscheck(&mut self, value: bool)

Bits: 19..20

Source

pub const fn set_ssscheck_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 19..20

Source

pub const fn spec_ctrl(&self) -> bool

Bits: 20..21

Source

pub const fn with_spec_ctrl_checked(self, value: bool) -> Result<Self, ()>

Bits: 20..21

Source

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

Bits: 20..21

Source

pub const fn set_spec_ctrl(&mut self, value: bool)

Bits: 20..21

Source

pub const fn set_spec_ctrl_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 20..21

Source

pub const fn rogpt(&self) -> bool

Bits: 21..22

Source

pub const fn with_rogpt_checked(self, value: bool) -> Result<Self, ()>

Bits: 21..22

Source

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

Bits: 21..22

Source

pub const fn set_rogpt(&mut self, value: bool)

Bits: 21..22

Source

pub const fn set_rogpt_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 21..22

Source

pub const fn host_mce_override(&self) -> bool

Bits: 23..24

Source

pub const fn with_host_mce_override_checked( self, value: bool, ) -> Result<Self, ()>

Bits: 23..24

Source

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

Bits: 23..24

Source

pub const fn set_host_mce_override(&mut self, value: bool)

Bits: 23..24

Source

pub const fn set_host_mce_override_checked( &mut self, value: bool, ) -> Result<(), ()>

Bits: 23..24

Source

pub const fn tlbi_ctl(&self) -> bool

Bits: 24..25

Source

pub const fn with_tlbi_ctl_checked(self, value: bool) -> Result<Self, ()>

Bits: 24..25

Source

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

Bits: 24..25

Source

pub const fn set_tlbi_ctl(&mut self, value: bool)

Bits: 24..25

Source

pub const fn set_tlbi_ctl_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 24..25

Source

pub const fn vnmi(&self) -> bool

Bits: 25..26

Source

pub const fn with_vnmi_checked(self, value: bool) -> Result<Self, ()>

Bits: 25..26

Source

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

Bits: 25..26

Source

pub const fn set_vnmi(&mut self, value: bool)

Bits: 25..26

Source

pub const fn set_vnmi_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 25..26

Source

pub const fn ibs_virt(&self) -> bool

Bits: 26..27

Source

pub const fn with_ibs_virt_checked(self, value: bool) -> Result<Self, ()>

Bits: 26..27

Source

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

Bits: 26..27

Source

pub const fn set_ibs_virt(&mut self, value: bool)

Bits: 26..27

Source

pub const fn set_ibs_virt_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 26..27

Source

pub const fn ext_lvt_avic(&self) -> bool

Bits: 27..28

Source

pub const fn with_ext_lvt_avic_checked(self, value: bool) -> Result<Self, ()>

Bits: 27..28

Source

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

Bits: 27..28

Source

pub const fn set_ext_lvt_avic(&mut self, value: bool)

Bits: 27..28

Source

pub const fn set_ext_lvt_avic_checked(&mut self, value: bool) -> Result<(), ()>

Bits: 27..28

Source

pub const fn nested_virt_snp_msr(&self) -> bool

Bits: 29..30

Source

pub const fn with_nested_virt_snp_msr_checked( self, value: bool, ) -> Result<Self, ()>

Bits: 29..30

Source

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

Bits: 29..30

Source

pub const fn set_nested_virt_snp_msr(&mut self, value: bool)

Bits: 29..30

Source

pub const fn set_nested_virt_snp_msr_checked( &mut self, value: bool, ) -> Result<(), ()>

Bits: 29..30

Trait Implementations§

Source§

impl Clone for ExtendedSvmVersionAndFeaturesEdx

Source§

fn clone(&self) -> ExtendedSvmVersionAndFeaturesEdx

Returns a duplicate 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 ExtendedSvmVersionAndFeaturesEdx

Source§

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

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

impl Default for ExtendedSvmVersionAndFeaturesEdx

Source§

fn default() -> Self

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

impl From<ExtendedSvmVersionAndFeaturesEdx> for u32

Source§

fn from(v: ExtendedSvmVersionAndFeaturesEdx) -> u32

Converts to this type from the input type.
Source§

impl From<u32> for ExtendedSvmVersionAndFeaturesEdx

Source§

fn from(v: u32) -> Self

Converts to this type from the input type.
Source§

impl Copy for ExtendedSvmVersionAndFeaturesEdx

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.