#[repr(C)]pub struct kvm_xcrs {
pub nr_xcrs: __u32,
pub flags: __u32,
pub xcrs: [kvm_xcr; 16],
pub padding: [__u64; 16],
}
Available on x86-64 only.
Fields§
§nr_xcrs: __u32
§flags: __u32
§xcrs: [kvm_xcr; 16]
§padding: [__u64; 16]
Trait Implementations§
Source§impl<'de> Deserialize<'de> for kvm_xcrs
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for kvm_xcrs
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 FromBytes for kvm_xcrs
impl FromBytes for kvm_xcrs
Source§impl IntoBytes for kvm_xcrs
impl IntoBytes for kvm_xcrs
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 TryFromBytes for kvm_xcrs
impl TryFromBytes for kvm_xcrs
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 Copy for kvm_xcrs
impl Immutable for kvm_xcrs
impl StructuralPartialEq for kvm_xcrs
Auto Trait Implementations§
impl Freeze for kvm_xcrs
impl RefUnwindSafe for kvm_xcrs
impl Send for kvm_xcrs
impl Sync for kvm_xcrs
impl Unpin for kvm_xcrs
impl UnwindSafe for kvm_xcrs
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