#[repr(C)]
pub union WHV_PARTITION_PROPERTY {
Show 30 fields pub ExtendedVmExits: WHV_EXTENDED_VM_EXITS, pub ProcessorFeatures: WHV_PROCESSOR_FEATURES, pub SyntheticProcessorFeaturesBanks: WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS, pub ProcessorXsaveFeatures: WHV_PROCESSOR_XSAVE_FEATURES, pub ProcessorClFlushSize: u8, pub ProcessorCount: u32, pub CpuidExitList: [u32; 1], pub CpuidResultList: [WHV_X64_CPUID_RESULT; 1], pub CpuidResultList2: [WHV_X64_CPUID_RESULT2; 1], pub MsrActionList: [WHV_MSR_ACTION_ENTRY; 1], pub UnimplementedMsrAction: WHV_MSR_ACTION, pub ExceptionExitBitmap: u64, pub LocalApicEmulationMode: WHV_X64_LOCAL_APIC_EMULATION_MODE, pub SeparateSecurityDomain: BOOL, pub NestedVirtualization: BOOL, pub X64MsrExitBitmap: WHV_X64_MSR_EXIT_BITMAP, pub ProcessorClockFrequency: u64, pub InterruptClockFrequency: u64, pub ApicRemoteRead: BOOL, pub ProcessorFeaturesBanks: WHV_PROCESSOR_FEATURES_BANKS, pub ReferenceTime: u64, pub PrimaryNumaNode: u16, pub CpuReserve: u32, pub CpuCap: u32, pub CpuWeight: u32, pub CpuGroupId: u64, pub ProcessorFrequencyCap: u32, pub AllowDeviceAssignment: BOOL, pub ProcessorPerfmonFeatures: WHV_PROCESSOR_PERFMON_FEATURES, pub DisableSmt: BOOL,
}

Fields§

§ExtendedVmExits: WHV_EXTENDED_VM_EXITS§ProcessorFeatures: WHV_PROCESSOR_FEATURES§SyntheticProcessorFeaturesBanks: WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS§ProcessorXsaveFeatures: WHV_PROCESSOR_XSAVE_FEATURES§ProcessorClFlushSize: u8§ProcessorCount: u32§CpuidExitList: [u32; 1]§CpuidResultList: [WHV_X64_CPUID_RESULT; 1]§CpuidResultList2: [WHV_X64_CPUID_RESULT2; 1]§MsrActionList: [WHV_MSR_ACTION_ENTRY; 1]§UnimplementedMsrAction: WHV_MSR_ACTION§ExceptionExitBitmap: u64§LocalApicEmulationMode: WHV_X64_LOCAL_APIC_EMULATION_MODE§SeparateSecurityDomain: BOOL§NestedVirtualization: BOOL§X64MsrExitBitmap: WHV_X64_MSR_EXIT_BITMAP§ProcessorClockFrequency: u64§InterruptClockFrequency: u64§ApicRemoteRead: BOOL§ProcessorFeaturesBanks: WHV_PROCESSOR_FEATURES_BANKS§ReferenceTime: u64§PrimaryNumaNode: u16§CpuReserve: u32§CpuCap: u32§CpuWeight: u32§CpuGroupId: u64§ProcessorFrequencyCap: u32§AllowDeviceAssignment: BOOL§ProcessorPerfmonFeatures: WHV_PROCESSOR_PERFMON_FEATURES§DisableSmt: BOOL

Trait Implementations§

§

impl Clone for WHV_PARTITION_PROPERTY

§

fn clone(&self) -> WHV_PARTITION_PROPERTY

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
§

impl Copy for WHV_PARTITION_PROPERTY

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§

default 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> CloneToUninit for T
where T: Copy,

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.