#[repr(C)]pub struct kvm_cpuid2 {
pub nent: __u32,
pub padding: __u32,
pub entries: __IncompleteArrayField<kvm_cpuid_entry2>,
}Available on x86-64 only.
Fields§
§nent: __u32§padding: __u32§entries: __IncompleteArrayField<kvm_cpuid_entry2>Trait Implementations§
Source§impl Debug for kvm_cpuid2
impl Debug for kvm_cpuid2
Source§impl Default for kvm_cpuid2
impl Default for kvm_cpuid2
Source§fn default() -> kvm_cpuid2
fn default() -> kvm_cpuid2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for kvm_cpuid2
Available on crate feature serde only.
impl<'de> Deserialize<'de> for kvm_cpuid2
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FamStruct for kvm_cpuid2
Available on crate feature fam-wrappers only.
impl FamStruct for kvm_cpuid2
Available on crate feature
fam-wrappers only.Source§type Entry = kvm_cpuid_entry2
type Entry = kvm_cpuid_entry2
The type of the FAM entries
Source§fn as_mut_slice(&mut self) -> &mut [<Self as FamStruct>::Entry]
fn as_mut_slice(&mut self) -> &mut [<Self as FamStruct>::Entry]
Get the FAM entries as mut slice
Source§impl FromBytes for kvm_cpuid2
impl FromBytes for kvm_cpuid2
Source§impl FromZeros for kvm_cpuid2
impl FromZeros for kvm_cpuid2
Source§impl IntoBytes for kvm_cpuid2where
__u32: IntoBytes,
__IncompleteArrayField<kvm_cpuid_entry2>: IntoBytes,
(): PaddingFree<Self, { _ }>,
impl IntoBytes for kvm_cpuid2where
__u32: IntoBytes,
__IncompleteArrayField<kvm_cpuid_entry2>: IntoBytes,
(): PaddingFree<Self, { _ }>,
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for kvm_cpuid2
Available on crate feature fam-wrappers only.
impl PartialEq for kvm_cpuid2
Available on crate feature
fam-wrappers only.Source§impl Serialize for kvm_cpuid2
Available on crate feature serde only.
impl Serialize for kvm_cpuid2
Available on crate feature
serde only.Source§impl TryFromBytes for kvm_cpuid2
impl TryFromBytes for kvm_cpuid2
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for kvm_cpuid2
Auto Trait Implementations§
impl Freeze for kvm_cpuid2
impl RefUnwindSafe for kvm_cpuid2
impl Send for kvm_cpuid2
impl Sync for kvm_cpuid2
impl Unpin for kvm_cpuid2
impl UnwindSafe for kvm_cpuid2
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