Skip to main content

HvX64PartitionProcessorFeatures

Struct HvX64PartitionProcessorFeatures 

Source
pub struct HvX64PartitionProcessorFeatures(/* private fields */);
Expand description

Partition processor features (bank 0).

Each bit indicates whether the corresponding processor feature is enabled for a partition. When used in mshv_create_partition_v2.pt_cpu_fbanks, the sense is inverted: a set bit means the feature is disabled.

Implementations§

Source§

impl HvX64PartitionProcessorFeatures

Source

pub const fn new() -> Self

Creates a new default initialized bitfield.

Source

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

Convert from bits.

Source

pub const fn into_bits(self) -> u64

Convert into bits.

Source

pub const fn sse3_support(&self) -> bool

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

pub const fn lahf_sahf_support(&self) -> bool

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

pub const fn ssse3_support(&self) -> bool

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

pub const fn sse4_1_support(&self) -> bool

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

pub const fn sse4_2_support(&self) -> bool

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

pub const fn sse4a_support(&self) -> bool

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

pub const fn xop_support(&self) -> bool

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

pub const fn pop_cnt_support(&self) -> bool

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

pub const fn cmpxchg16b_support(&self) -> bool

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

pub const fn altmovcr8_support(&self) -> bool

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

pub const fn lzcnt_support(&self) -> bool

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

pub const fn mis_align_sse_support(&self) -> bool

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

pub const fn mmx_ext_support(&self) -> bool

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

pub const fn amd3d_now_support(&self) -> bool

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

pub const fn extended_amd3d_now_support(&self) -> bool

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

pub const fn page_1gb_support(&self) -> bool

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

pub const fn aes_support(&self) -> bool

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

pub const fn pclmulqdq_support(&self) -> bool

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

pub const fn pcid_support(&self) -> bool

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

pub const fn fma4_support(&self) -> bool

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

pub const fn f16c_support(&self) -> bool

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

pub const fn rd_rand_support(&self) -> bool

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

pub const fn rd_wr_fs_gs_support(&self) -> bool

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

pub const fn smep_support(&self) -> bool

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

pub const fn enhanced_fast_string_support(&self) -> bool

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

pub const fn bmi1_support(&self) -> bool

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

pub const fn bmi2_support(&self) -> bool

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

pub const fn hle_support_deprecated(&self) -> bool

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

pub const fn rtm_support_deprecated(&self) -> bool

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

pub const fn movbe_support(&self) -> bool

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

pub const fn npiep1_support(&self) -> bool

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

pub const fn dep_x87_fpu_save_support(&self) -> bool

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

pub const fn rd_seed_support(&self) -> bool

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

pub const fn adx_support(&self) -> bool

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

pub const fn intel_prefetch_support(&self) -> bool

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

pub const fn smap_support(&self) -> bool

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

pub const fn hle_support(&self) -> bool

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

pub const fn rtm_support(&self) -> bool

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Source

pub const fn rdtscp_support(&self) -> bool

Bits: 38..39

Source

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

Bits: 38..39

Source

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

Bits: 38..39

Source

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

Bits: 38..39

Source

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

Bits: 38..39

Source

pub const fn clflushopt_support(&self) -> bool

Bits: 39..40

Source

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

Bits: 39..40

Source

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

Bits: 39..40

Source

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

Bits: 39..40

Source

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

Bits: 39..40

Source

pub const fn clwb_support(&self) -> bool

Bits: 40..41

Source

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

Bits: 40..41

Source

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

Bits: 40..41

Source

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

Bits: 40..41

Source

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

Bits: 40..41

Source

pub const fn sha_support(&self) -> bool

Bits: 41..42

Source

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

Bits: 41..42

Source

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

Bits: 41..42

Source

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

Bits: 41..42

Source

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

Bits: 41..42

Source

pub const fn x87_pointers_saved_support(&self) -> bool

Bits: 42..43

Source

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

Bits: 42..43

Source

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

Bits: 42..43

Source

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

Bits: 42..43

Source

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

Bits: 42..43

Source

pub const fn invpcid_support(&self) -> bool

Bits: 43..44

Source

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

Bits: 43..44

Source

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

Bits: 43..44

Source

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

Bits: 43..44

Source

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

Bits: 43..44

Source

pub const fn ibrs_support(&self) -> bool

Bits: 44..45

Source

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

Bits: 44..45

Source

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

Bits: 44..45

Source

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

Bits: 44..45

Source

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

Bits: 44..45

Source

pub const fn stibp_support(&self) -> bool

Bits: 45..46

Source

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

Bits: 45..46

Source

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

Bits: 45..46

Source

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

Bits: 45..46

Source

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

Bits: 45..46

Source

pub const fn ibpb_support(&self) -> bool

Bits: 46..47

Source

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

Bits: 46..47

Source

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

Bits: 46..47

Source

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

Bits: 46..47

Source

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

Bits: 46..47

Source

pub const fn unrestricted_guest_support(&self) -> bool

Bits: 47..48

Source

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

Bits: 47..48

Source

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

Bits: 47..48

Source

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

Bits: 47..48

Source

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

Bits: 47..48

Source

pub const fn mdd_support(&self) -> bool

Bits: 48..49

Source

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

Bits: 48..49

Source

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

Bits: 48..49

Source

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

Bits: 48..49

Source

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

Bits: 48..49

Source

pub const fn fast_short_rep_mov_support(&self) -> bool

Bits: 49..50

Source

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

Bits: 49..50

Source

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

Bits: 49..50

Source

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

Bits: 49..50

Source

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

Bits: 49..50

Source

pub const fn l1d_cache_flush_support(&self) -> bool

Bits: 50..51

Source

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

Bits: 50..51

Source

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

Bits: 50..51

Source

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

Bits: 50..51

Source

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

Bits: 50..51

Source

pub const fn rdcl_no_support(&self) -> bool

Bits: 51..52

Source

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

Bits: 51..52

Source

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

Bits: 51..52

Source

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

Bits: 51..52

Source

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

Bits: 51..52

Source

pub const fn ibrs_all_support(&self) -> bool

Bits: 52..53

Source

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

Bits: 52..53

Source

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

Bits: 52..53

Source

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

Bits: 52..53

Source

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

Bits: 52..53

Source

pub const fn skip_l1df_support(&self) -> bool

Bits: 53..54

Source

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

Bits: 53..54

Source

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

Bits: 53..54

Source

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

Bits: 53..54

Source

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

Bits: 53..54

Source

pub const fn ssb_no_support(&self) -> bool

Bits: 54..55

Source

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

Bits: 54..55

Source

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

Bits: 54..55

Source

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

Bits: 54..55

Source

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

Bits: 54..55

Source

pub const fn rsb_a_no_support(&self) -> bool

Bits: 55..56

Source

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

Bits: 55..56

Source

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

Bits: 55..56

Source

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

Bits: 55..56

Source

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

Bits: 55..56

Source

pub const fn virt_spec_ctrl_support(&self) -> bool

Bits: 56..57

Source

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

Bits: 56..57

Source

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

Bits: 56..57

Source

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

Bits: 56..57

Source

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

Bits: 56..57

Source

pub const fn rd_pid_support(&self) -> bool

Bits: 57..58

Source

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

Bits: 57..58

Source

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

Bits: 57..58

Source

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

Bits: 57..58

Source

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

Bits: 57..58

Source

pub const fn umip_support(&self) -> bool

Bits: 58..59

Source

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

Bits: 58..59

Source

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

Bits: 58..59

Source

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

Bits: 58..59

Source

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

Bits: 58..59

Source

pub const fn mbs_no_support(&self) -> bool

Bits: 59..60

Source

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

Bits: 59..60

Source

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

Bits: 59..60

Source

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

Bits: 59..60

Source

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

Bits: 59..60

Source

pub const fn mb_clear_support(&self) -> bool

Bits: 60..61

Source

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

Bits: 60..61

Source

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

Bits: 60..61

Source

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

Bits: 60..61

Source

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

Bits: 60..61

Source

pub const fn taa_no_support(&self) -> bool

Bits: 61..62

Source

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

Bits: 61..62

Source

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

Bits: 61..62

Source

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

Bits: 61..62

Source

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

Bits: 61..62

Source

pub const fn tsx_ctrl_support(&self) -> bool

Bits: 62..63

Source

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

Bits: 62..63

Source

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

Bits: 62..63

Source

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

Bits: 62..63

Source

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

Bits: 62..63

Trait Implementations§

Source§

impl Clone for HvX64PartitionProcessorFeatures

Source§

fn clone(&self) -> HvX64PartitionProcessorFeatures

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 HvX64PartitionProcessorFeatures

Source§

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

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

impl Default for HvX64PartitionProcessorFeatures

Source§

fn default() -> Self

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

impl From<HvX64PartitionProcessorFeatures> for u64

Source§

fn from(v: HvX64PartitionProcessorFeatures) -> u64

Converts to this type from the input type.
Source§

impl From<u64> for HvX64PartitionProcessorFeatures

Source§

fn from(v: u64) -> Self

Converts to this type from the input type.
Source§

impl Copy for HvX64PartitionProcessorFeatures

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.