Skip to main content

HvX64PartitionProcessorXsaveFeatures

Struct HvX64PartitionProcessorXsaveFeatures 

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

Partition processor XSAVE features.

Implementations§

Source§

impl HvX64PartitionProcessorXsaveFeatures

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

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

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

Bits: 0..1

Source

pub const fn xsaveopt_support(&self) -> bool

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

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

Bits: 1..2

Source

pub const fn avx_support(&self) -> bool

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

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

Bits: 2..3

Source

pub const fn avx2_support(&self) -> bool

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

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

Bits: 3..4

Source

pub const fn fma_support(&self) -> bool

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

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

Bits: 4..5

Source

pub const fn mpx_support(&self) -> bool

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

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

Bits: 5..6

Source

pub const fn avx512_support(&self) -> bool

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

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

Bits: 6..7

Source

pub const fn avx512_dq_support(&self) -> bool

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

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

Bits: 7..8

Source

pub const fn avx512_cd_support(&self) -> bool

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

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

Bits: 8..9

Source

pub const fn avx512_bw_support(&self) -> bool

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

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

Bits: 9..10

Source

pub const fn avx512_vl_support(&self) -> bool

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

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

Bits: 10..11

Source

pub const fn xsave_comp_support(&self) -> bool

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

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

Bits: 11..12

Source

pub const fn xsave_supervisor_support(&self) -> bool

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

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

Bits: 12..13

Source

pub const fn xcr1_support(&self) -> bool

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

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

Bits: 13..14

Source

pub const fn avx512_bitalg_support(&self) -> bool

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

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

Bits: 14..15

Source

pub const fn avx512_ifma_support(&self) -> bool

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

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

Bits: 15..16

Source

pub const fn avx512_vbmi_support(&self) -> bool

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

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

Bits: 16..17

Source

pub const fn avx512_vbmi2_support(&self) -> bool

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

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

Bits: 17..18

Source

pub const fn avx512_vnni_support(&self) -> bool

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

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

Bits: 18..19

Source

pub const fn gfni_support(&self) -> bool

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

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

Bits: 19..20

Source

pub const fn vaes_support(&self) -> bool

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

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

Bits: 20..21

Source

pub const fn avx512_vpopcntdq_support(&self) -> bool

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

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

Bits: 21..22

Source

pub const fn vpclmulqdq_support(&self) -> bool

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

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

Bits: 22..23

Source

pub const fn avx512_bf16_support(&self) -> bool

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

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

Bits: 23..24

Source

pub const fn avx512_vp2_intersect_support(&self) -> bool

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

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

Bits: 24..25

Source

pub const fn avx512_fp16_support(&self) -> bool

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

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

Bits: 25..26

Source

pub const fn xfd_support(&self) -> bool

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

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

Bits: 26..27

Source

pub const fn amx_tile_support(&self) -> bool

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

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

Bits: 27..28

Source

pub const fn amx_bf16_support(&self) -> bool

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

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

Bits: 28..29

Source

pub const fn amx_int8_support(&self) -> bool

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

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

Bits: 29..30

Source

pub const fn avx_vnni_support(&self) -> bool

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

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

Bits: 30..31

Source

pub const fn avx_ifma_support(&self) -> bool

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

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

Bits: 31..32

Source

pub const fn avx_ne_convert_support(&self) -> bool

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

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

Bits: 32..33

Source

pub const fn avx_vnni_int8_support(&self) -> bool

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

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

Bits: 33..34

Source

pub const fn avx_vnni_int16_support(&self) -> bool

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

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

Bits: 34..35

Source

pub const fn avx10_1_256_support(&self) -> bool

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

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

Bits: 35..36

Source

pub const fn avx10_1_512_support(&self) -> bool

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

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

Bits: 36..37

Source

pub const fn amx_fp16_support(&self) -> bool

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Source

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

Bits: 37..38

Trait Implementations§

Source§

impl Clone for HvX64PartitionProcessorXsaveFeatures

Source§

fn clone(&self) -> HvX64PartitionProcessorXsaveFeatures

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 HvX64PartitionProcessorXsaveFeatures

Source§

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

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

impl Default for HvX64PartitionProcessorXsaveFeatures

Source§

fn default() -> Self

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

impl From<HvX64PartitionProcessorXsaveFeatures> for u64

Source§

fn from(v: HvX64PartitionProcessorXsaveFeatures) -> u64

Converts to this type from the input type.
Source§

impl From<u64> for HvX64PartitionProcessorXsaveFeatures

Source§

fn from(v: u64) -> Self

Converts to this type from the input type.
Source§

impl Copy for HvX64PartitionProcessorXsaveFeatures

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.