pub struct CpuId {
pub cpu_id_entries: Vec<CpuIdEntry>,
}Expand description
A container for the list of cpu id entries for the hypervisor and underlying cpu.
Fields§
§cpu_id_entries: Vec<CpuIdEntry>Implementations§
Trait Implementations§
Source§impl From<&CpuId> for Box<kvm_cpuid2<[kvm_cpuid_entry2]>>
impl From<&CpuId> for Box<kvm_cpuid2<[kvm_cpuid_entry2]>>
Source§fn from(cpuid: &CpuId) -> Box<kvm_cpuid2<[kvm_cpuid_entry2]>>
fn from(cpuid: &CpuId) -> Box<kvm_cpuid2<[kvm_cpuid_entry2]>>
Converts to this type from the input type.
Source§impl<'a> From<&'a kvm_cpuid2<[kvm_cpuid_entry2]>> for CpuId
impl<'a> From<&'a kvm_cpuid2<[kvm_cpuid_entry2]>> for CpuId
Source§fn from(kvm_cpuid: &'a kvm_cpuid2<[kvm_cpuid_entry2]>) -> CpuId
fn from(kvm_cpuid: &'a kvm_cpuid2<[kvm_cpuid_entry2]>) -> CpuId
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CpuId
impl RefUnwindSafe for CpuId
impl Send for CpuId
impl Sync for CpuId
impl Unpin for CpuId
impl UnwindSafe for CpuId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more