#[repr(C)]
pub union WHV_CAPABILITY {
Show 17 fields pub HypervisorPresent: BOOL, pub Features: WHV_CAPABILITY_FEATURES, pub ExtendedVmExits: WHV_EXTENDED_VM_EXITS, pub ProcessorVendor: WHV_PROCESSOR_VENDOR, pub ProcessorFeatures: WHV_PROCESSOR_FEATURES, pub SyntheticProcessorFeaturesBanks: WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS, pub ProcessorXsaveFeatures: WHV_PROCESSOR_XSAVE_FEATURES, pub ProcessorClFlushSize: u8, pub ExceptionExitBitmap: u64, pub X64MsrExitBitmap: WHV_X64_MSR_EXIT_BITMAP, pub ProcessorClockFrequency: u64, pub InterruptClockFrequency: u64, pub ProcessorFeaturesBanks: WHV_PROCESSOR_FEATURES_BANKS, pub GpaRangePopulateFlags: WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS, pub ProcessorFrequencyCap: WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP, pub ProcessorPerfmonFeatures: WHV_PROCESSOR_PERFMON_FEATURES, pub SchedulerFeatures: WHV_SCHEDULER_FEATURES,
}
Expand description

Required features: "Win32_Foundation"

Fields§

§HypervisorPresent: BOOL§Features: WHV_CAPABILITY_FEATURES§ExtendedVmExits: WHV_EXTENDED_VM_EXITS§ProcessorVendor: WHV_PROCESSOR_VENDOR§ProcessorFeatures: WHV_PROCESSOR_FEATURES§SyntheticProcessorFeaturesBanks: WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS§ProcessorXsaveFeatures: WHV_PROCESSOR_XSAVE_FEATURES§ProcessorClFlushSize: u8§ExceptionExitBitmap: u64§X64MsrExitBitmap: WHV_X64_MSR_EXIT_BITMAP§ProcessorClockFrequency: u64§InterruptClockFrequency: u64§ProcessorFeaturesBanks: WHV_PROCESSOR_FEATURES_BANKS§GpaRangePopulateFlags: WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS§ProcessorFrequencyCap: WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP§ProcessorPerfmonFeatures: WHV_PROCESSOR_PERFMON_FEATURES§SchedulerFeatures: WHV_SCHEDULER_FEATURES

Trait Implementations§

§

impl Clone for WHV_CAPABILITY

§

fn clone(&self) -> Self

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_CAPABILITY

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere 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 Twhere 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.