Type Alias kvm::CpuId

source ·
pub type CpuId = FlexibleArrayWrapper<kvm_cpuid2, kvm_cpuid_entry2>;
Expand description

Wrapper for kvm_cpuid2 which has a zero length array at the end. Hides the zero length array behind a bounds check.

Aliased Type§

struct CpuId {
    entries: Vec<kvm_cpuid2>,
    phantom: PhantomData<kvm_cpuid_entry2>,
    allocated_len: usize,
}

Fields§

§entries: Vec<kvm_cpuid2>§phantom: PhantomData<kvm_cpuid_entry2>§allocated_len: usize